Example 8.  Reduce the step size by  [Graphics:Images/TaylorDEMod_gr_140.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  8.

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

The error for Taylor  series 's method.

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

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

[Graphics:../Images/TaylorDEMod_gr_144.gif]
[Graphics:../Images/TaylorDEMod_gr_145.gif]

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

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

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

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004