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

NAG AD Library Introduction
Example description

D02PQ_P0W_F C++ Header Example Program Results


  Calculation with tol = 0.0001

    t         y1        y2
 0.000     0.000     1.000
 0.785     0.707     0.707
 1.519     0.999     0.051
 2.282     0.757    -0.653
 2.911     0.229    -0.974
 3.706    -0.535    -0.845
 4.364    -0.940    -0.341
 5.320    -0.821     0.571
 5.802    -0.463     0.886
 6.283     0.000     1.000

 Cost of the integration in evaluations of f is 204