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

NAG AD Library Introduction
Example description

 D01RK_A1W_F Example Program Results

 a      -     lower limit of integration =     0.0000
 b      -     upper limit of integration =     6.2832
 key    -        choice of Gaussian rule =          6
 epsabs -    absolute accuracy requested =   0.00E+00
 epsrel -    relative accuracy requested =   0.10E-03
 maxsub -     max number of subintervals =         20

 result -  approximation to the integral =   -0.20967
 abserr - estimate of the absolute error =   0.45E-13
 iinfo( -    number of subintervals used =          4

  Derivatives calculated: First order adjoints
  Computational mode    : algorithmic
  Derivatives:
  dI/druser(1) =    0.01401
  dI/druser(2) =   -0.00093