nag_ode_ivp_rkts_reset_tend (d02prc) Example Program Results
Calculation with tol = 1.0e-04
t y1 y2 y3 y4
0.000 0.300 0.000 0.000 2.380
(User-supplied callback f, first invocation.)
3.142 -1.700 0.000 -0.000 -0.420
6.283 0.300 -0.000 0.000 2.380
9.425 -1.700 0.000 -0.000 -0.420
12.566 0.300 -0.000 0.002 2.380
15.708 -1.700 0.000 -0.000 -0.420
18.850 0.300 -0.001 0.004 2.380
Cost of the integration in evaluations of f is 571
Calculation with tol = 1.0e-05
t y1 y2 y3 y4
0.000 0.300 0.000 0.000 2.380
3.142 -1.700 -0.000 0.000 -0.420
6.283 0.300 0.000 -0.000 2.380
9.425 -1.700 0.000 -0.000 -0.420
12.566 0.300 -0.000 0.000 2.380
15.708 -1.700 0.000 -0.000 -0.420
18.850 0.300 -0.000 0.001 2.380
Cost of the integration in evaluations of f is 748