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

NAG AD Library Introduction
Example description

D02PQ_T1W_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

 Derivatives calculated: First order tangents
 Computational mode    : algorithmic

 Derivatives: (solution w.r.t. function parameter)
 dy(t)/druser[0] =  3.14158e+00
 dy(t)/druser[1] =  3.14155e+00