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

Solution 8.

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

The error for Milne-Simpson's method.

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

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

[Graphics:../Images/MilneSimpsonMod_gr_116.gif]
and the step size h = 0.05


Compare the error for Milne-Simpson's method with 50 and 100 subintervals.
Question 1. When the step size is reduced by [Graphics:../Images/MilneSimpsonMod_gr_118.gif] estimate how much is the error reduced ?  (Theoretically is is [Graphics:../Images/MilneSimpsonMod_gr_119.gif].)  

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

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

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004