Download "user manual"

Transcript
A Multi-Adaptive ODE-Solver
The solution is (obviously) u(t) = (et , e2t , 12 e3t , 12 e4t , 14 e5t ).
A comparison between true error and error estimate is given in figure 4.12
for the multi-adaptive cG(1)-method. Also for this nonlinear problem, the true
error is smaller than and close to the error estimate, as desired.
−4
1
x 10
1
0.9
0.8
0.8
0.7
0.7
True Error / Error Estimate
0.9
True Error
0.6
0.5
0.4
0.6
0.5
0.4
0.3
0.3
0.2
0.2
0.1
0.1
0
0
0.2
0.4
0.6
Error Estimate
0.8
0
1
0
0.2
0.4
0.6
Error Estimate
−4
x 10
0.8
1
−4
x 10
Figure 4.12: True error vs. error estimate for the multi-adaptive cG(1)-method. The
solid lines indicate the ideal maximum size of the true error.
Finally, notice that these results were all obtained automatically, the only
data specified being the equation (including initial data) and the tolerance. The
equations were then solved automatically, including the solution of the dual
problem – which was automatically generated by numerical differentiation of
the given equation – and error estimation, giving a resulting final error smaller
than the given tolerance.
36