Question
Consider the initial-value problem $y' = 3y$, $y(0) = 1$. The analytic solution is $y = e^{3x}$.
(a) Approximate $y(0.10)$ using one step and Euler's method.
(b) Find a bound for the local truncation error in $y_1$.
(c) Compare the actual error in $y_1$ with your error bound.
(d) Approximate $y(0.10)$ using two steps and Euler's method.
(e) Verify that the global truncation error for Euler's method is $O(h)$ by comparing the errors in parts (a) and (d).