In this problem we cstablish that the local truncation crror for the improved
Euler formula is proportional to \(h^{3} .\) If we assume that the solution
\(\phi\) of the initial value problem \(y^{\prime}=f(t, y),\)
\(y\left(t_{0}\right)=y_{0}\) has derivatives that are continuous through the
third order \((f\) has continuous second partial derivatives), it follows that
$$
\phi\left(t_{n}+h\right)=\phi\left(t_{n}\right)+\phi^{\prime}\left(t_{n}\right)
h+\frac{\phi^{\prime \prime}\left(t_{n}\right)}{2 !} h^{2}+\frac{\phi^{\prime
\prime \prime}\left(\bar{t}_{n}\right)}{3 !} h^{3}
$$
where \(t_{n}<\bar{t}_{n} \leq t_{n}+h .\) Assume that
\(y_{n}=\phi\left(t_{n}\right)\)
(a) Show that for \(y_{n+1}\) as given by Eq. ( 5 )
$$
e_{n+1}=\phi\left(t_{n+1}\right)-y_{n+1}
$$
$$
\begin{aligned}=\frac{\phi^{\prime \prime}\left(t_{n}\right)
h-\left\\{f\left[t_{n}+h, y_{n}+h f\left(t_{n},
y_{n}\right)\right]-f\left(t_{n}, y_{n}\right)\right\\}}{2 !}
+\frac{\phi^{\prime \prime \prime}\left(\bar{I}_{n}\right) h^{3}}{3 !}
\end{aligned}
$$
(b) Making use of the facts that \(\phi^{\prime \prime}(t)=f_{t}[t,
\phi(t)]+f_{y}[t, \phi(t)] \phi^{\prime}(t),\) and that the Taylor
approximation with a remainder for a function \(F(t, y)\) of two variables is
$$
F(a+h, b+k)=F(a, b)+F_{t}(a, b) h+F_{y}(a, b) k
$$
$$
+\left.\frac{1}{2 !}\left(h^{2} F_{t t}+2 h k F_{t y}+k^{2} F_{y
y}\right)\right|_{x=\xi, y=\eta}
$$
where \(\xi\) lies between \(a\) and \(a+h\) and \(\eta\) lies between \(b\) and \(b+k,\)
show that the first term on the right side of \(\mathrm{Eq}\). (i) is
proportional to \(h^{3}\) plus higher order terms. This is the desired result.
(c) Show that if \(f(t, y)\) is linear in \(t\) and \(y,\) then
\(e_{n+1}=\phi^{\prime \prime \prime}\left(\bar{t}_{n}\right) h^{3} / 6,\) where
\(t_{n}<\bar{t}_{n}