(a)
(b)
(c)
(d)
(a)
(b)
The truncation error is .
(c)
(d)
Command in Mathematica to check the correctness of this answer is given by
Series[y[t-h],{h,0,4}]-(1/h+3) Series[y[t-h],{h,0,4}] + (1/h-1) Ser %ies[y[t+h],{h,0,4}]
(e)
The correctness of this solution can be checked by the Mathematica command
(5/3-1/(2h))Series[y[t-h],{h,0,4}]+(5+1/(2h)) Series[y[t+h],{h,0,4}] + (-5/3) Series[y[t+2h],{h,0,4}]
(a)
To find the general solution of the equation
(b)
(c) We obtain
(d)
Euler method with gives
The errors are
(e) The backward Euler gives
(a)
(b)
The truncation error is that of the mid-point rule, that is