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

NAG AD Library Introduction
Example description

D01RG_P0W_F C++ Header Example Program Results


 lower limit of integration (a) = -1
 upper limit of integration (b) = 1
 absolute accuracy requested    = 0
 relative accuracy requested    = 0.0001

 approximation to the integral  : 3.8115e+00
 estimate of the absolute error : 2.9281e-04
 number of function evaluations : 227