D05BEF Example Program Results
Example 1
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, 0.29E-02, occurred at T = 0.1000
with solution 0.0326
Example 2
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, 0.32E-05, occurred at T = 0.0714
with solution 0.9333