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

NAG AD Library Introduction
Example description

D02PR_P0W_F C++ Header Example Program Results


  Calculation with tol = 0.0001

    t         y1        y2
 0.000     0.300     0.000     0.000     2.380
 3.142    -1.700     0.000    -0.000    -0.420
 6.283     0.300    -0.000     0.000     2.380
 9.425    -1.700     0.000    -0.000    -0.420
12.566     0.300    -0.000     0.002     2.380
15.708    -1.700     0.000    -0.000    -0.420
18.850     0.300    -0.001     0.004     2.380

 Cost of the integration in evaluations of f is 571