Example 3. Plot the
error for Heun's method.
Solution 3.
![[Graphics:../Images/Heun'sMethodMod_gr_54.gif]](../Images/Heun'sMethodMod_gr_54.gif)
Since we have the analytic or "true solution" at hand, we can run
experiments to verify that Heun's method has
order
. Reduce
the step size by
and see what happens to the error.
(c) John H. Mathews 2004