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

NAG AD Library Introduction
Example description

 D02PE_P0W_F Example Program Results

 Calculation with TOL =  1.0E-04

    t         y1        y2

  0.000     0.000     1.000
  0.785     0.707     0.707
  1.571     1.000    -0.000
  2.356     0.707    -0.707
  3.142    -0.000    -1.000
  3.927    -0.707    -0.707
  4.712    -1.000     0.000
  5.498    -0.707     0.707
  6.283     0.000     1.000

 Cost of the integration in evaluations of F is   892