1(c)

In one step of the Improved Euler method we have m1 = f(xj, yj) = 3 yj, m2 = f(xj+h, yj + h m1) = 3 (1 + 3 h) yj, and yj+1 = yj + h (m1 + m2)/2 = (1 + 3 h + 9 h2/2) yj. On the other hand, $\psi_j(x_{j+1}) = {\rm e}^{3 h} y_j$. From the Taylor series, ${\rm e}^{3 h} = 1 + 3 h + 9 h^2/2 + O(h^3)$, so the local error is $e_{j+1} = \psi_j(x_{j+1}) - y_{j+1} = y_j O(h^3) = O(h^3)$.



Robert Israel
2002-02-07