nag_ode_ivp_rkts_interp (d02psc) Example Program Results
Calculation with tol = 1.0e-04
t y1 y1'
0.000 0.0000 1.0000
(User-supplied callback f, first invocation.)
0.393 0.3827 0.9238
0.785 0.7071 0.7070
1.178 0.9238 0.3826
1.571 0.9999 -0.0000
1.963 0.9238 -0.3827
2.356 0.7070 -0.7071
2.749 0.3826 -0.9238
3.142 -0.0000 -0.9998
3.534 -0.3826 -0.9237
3.927 -0.7070 -0.7069
4.320 -0.9237 -0.3826
4.712 -0.9998 0.0000
5.105 -0.9236 0.3827
5.498 -0.7069 0.7070
5.890 -0.3825 0.9236
Cost of the integration in evaluations of f is 235
Calculation with tol = 1.0e-05
t y1 y1'
0.000 0.0000 1.0000
0.393 0.3827 0.9239
0.785 0.7071 0.7071
1.178 0.9239 0.3827
1.571 1.0000 -0.0000
1.963 0.9239 -0.3827
2.356 0.7071 -0.7071
2.749 0.3827 -0.9239
3.142 -0.0000 -1.0000
3.534 -0.3827 -0.9239
3.927 -0.7071 -0.7071
4.320 -0.9239 -0.3827
4.712 -1.0000 0.0000
5.105 -0.9239 0.3827
5.498 -0.7071 0.7071
5.890 -0.3827 0.9239
Cost of the integration in evaluations of f is 493