Example 4. Reduce
the step size by
and see what happens to the error.
Recalculate points for Heun's method, and the analytic solution using
twice as many subintervals.
Then Plot the error for Heun's method.
Solution 4.
![[Graphics:../Images/Heun'sMethodMod_gr_60.gif]](../Images/Heun'sMethodMod_gr_60.gif)
The error for Heun's method.
![[Graphics:../Images/Heun'sMethodMod_gr_62.gif]](../Images/Heun'sMethodMod_gr_62.gif)
Compare the error for Heun's method with 25 and 50
subintervals.
Question 1. When the step size is
reduced by
estimate how much is the error reduced ? (Theoretically is
is
.)
![[Graphics:../Images/Heun'sMethodMod_gr_68.gif]](../Images/Heun'sMethodMod_gr_68.gif)
(c) John H. Mathews 2004