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

NAG CL Interface Introduction
Example description

nag_inteq_abel1_weak (d05bec) 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.5000         0.1191
  1.0000         0.0528
  1.5000         0.0265
  2.0000         0.0146
  2.5000         0.0086
  3.0000         0.0052
  3.5000         0.0033
  4.0000         0.0022
  4.5000         0.0014
  5.0000         0.0010
  5.5000         0.0007
  6.0000         0.0004
  6.5000         0.0003
  7.0000         0.0002

The maximum absolute error,   2.86e-03, occurred at t =   0.1000
with solution   0.0326

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.5000         0.6667
  1.0000         0.5000
  1.5000         0.4000
  2.0000         0.3333
  2.5000         0.2857
  3.0000         0.2500
  3.5000         0.2222
  4.0000         0.2000
  4.5000         0.1818
  5.0000         0.1667

The maximum absolute error,   3.17e-06, occurred at t =   0.0714
with solution   0.9333