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

NAG CL Interface Introduction
Example description

nag_inteq_abel2_weak (d05bdc) Example Program Results

Example 1

(User-supplied callback ck1, first invocation.)
(User-supplied callback cf1, first invocation.)
(User-supplied callback cg1, first invocation.)
The stepsize h =   0.1000

     t        Approximate
                Solution

  0.0000         0.0000
  0.5000         0.7071
  1.0000         1.0000
  1.5000         1.2247
  2.0000         1.4142
  2.5000         1.5811
  3.0000         1.7321
  3.5000         1.8708
  4.0000         2.0000
  4.5000         2.1213
  5.0000         2.2361
  5.5000         2.3452
  6.0000         2.4495
  6.5000         2.5495
  7.0000         2.6458

Example 2

(User-supplied callback ck2, first invocation.)
(User-supplied callback cf2, first invocation.)
(User-supplied callback cg2, first invocation.)
The stepsize h =   0.0714

     t        Approximate
                Solution

  0.0000         0.0000
  0.5000         0.3536
  1.0000         0.0000
  1.5000        -0.6124
  2.0000        -1.4142
  2.5000        -2.3717
  3.0000        -3.4641
  3.5000        -4.6771
  4.0000        -6.0000
  4.5000        -7.4246
  5.0000        -8.9443