NAG Library Manual, Mark 30
Interfaces:  FL   CL   CPP   AD 

NAG FL Interface Introduction
Example description

 D02BJF Example Program Results

 Case 1: intermediate output, root-finding

  Calculation with TOL = 0.1E-03
      X         Y(1)         Y(2)         Y(3)
     0.00       0.5000       0.5000       0.6283
     2.00       1.5493       0.4055       0.3066
     4.00       1.7423       0.3743      -0.1289
     6.00       1.0055       0.4173      -0.5507
   Root of Y(1) = 0.0 at  7.288
   Solution is      -0.0000       0.4749      -0.7601

  Calculation with TOL = 0.1E-04
      X         Y(1)         Y(2)         Y(3)
     0.00       0.5000       0.5000       0.6283
     2.00       1.5493       0.4055       0.3066
     4.00       1.7423       0.3743      -0.1289
     6.00       1.0055       0.4173      -0.5507
   Root of Y(1) = 0.0 at  7.288
   Solution is       0.0000       0.4749      -0.7601


 Case 2: no intermediate output, root-finding

  Calculation with TOL = 0.1E-03
   Root of Y(1) = 0.0 at  7.288
   Solution is      -0.0000       0.4749      -0.7601

  Calculation with TOL = 0.1E-04
   Root of Y(1) = 0.0 at  7.288
   Solution is       0.0000       0.4749      -0.7601


 Case 3: intermediate output, no root-finding

  Calculation with TOL = 0.1E-03
      X         Y(1)         Y(2)         Y(3)
     0.00       0.5000       0.5000       0.6283
     2.00       1.5493       0.4055       0.3066
     4.00       1.7423       0.3743      -0.1289
     6.00       1.0055       0.4173      -0.5507
     8.00      -0.7460       0.5130      -0.8537
    10.00      -3.6283       0.6333      -1.0515

  Calculation with TOL = 0.1E-04
      X         Y(1)         Y(2)         Y(3)
     0.00       0.5000       0.5000       0.6283
     2.00       1.5493       0.4055       0.3066
     4.00       1.7423       0.3743      -0.1289
     6.00       1.0055       0.4173      -0.5507
     8.00      -0.7459       0.5130      -0.8537
    10.00      -3.6282       0.6333      -1.0515


 Case 4: no intermediate output, no root-finding ( integrate to XEND)

  Calculation with TOL = 0.1E-03
      X         Y(1)         Y(2)         Y(3)
     0.00       0.5000       0.5000       0.6283
    10.00      -3.6283       0.6333      -1.0515

  Calculation with TOL = 0.1E-04
      X         Y(1)         Y(2)         Y(3)
     0.00       0.5000       0.5000       0.6283
    10.00      -3.6282       0.6333      -1.0515