Example 3.  Plot the error for the Taylor  series 's method.

Solution  3.

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

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

[Graphics:../Images/TaylorDEMod_gr_76.gif]
[Graphics:../Images/TaylorDEMod_gr_77.gif]

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004