Example 4.  Reduce the step size by  [Graphics:Images/TaylorDEMod_gr_80.gif] and see what happens to the error.
Recalculate points for Taylor  series 's method, and the analytic solution using twice as many subintervals.
Then Plot the error for Taylor  series 's method.

Solution  4.

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

The error for Taylor series 's method.

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

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

[Graphics:../Images/TaylorDEMod_gr_84.gif]
[Graphics:../Images/TaylorDEMod_gr_85.gif]

Compare the error for Taylor  series 's method with 25 and 50 subintervals.
Question 1. When the step size is reduced by [Graphics:../Images/TaylorDEMod_gr_86.gif] estimate how much is the error reduced ?  (Theoretically is is [Graphics:../Images/TaylorDEMod_gr_87.gif].)  

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

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

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004