Example 3.  Plot the error for Adams-Bashforth-Moulton's method.

Solution 3.

[Graphics:../Images/AdamsBashforthMod_gr_64.gif]

[Graphics:../Images/AdamsBashforthMod_gr_65.gif]

[Graphics:../Images/AdamsBashforthMod_gr_66.gif]
and the step size h = 0.2


Since we have the analytic or "true solution" at hand, we can run experiments to verify that Adams-Bashforth-Moulton's method has order  [Graphics:../Images/AdamsBashforthMod_gr_68.gif].   Reduce the step size by  [Graphics:../Images/AdamsBashforthMod_gr_69.gif] and see what happens to the error.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004