Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ia/paper-2/5c/c/solution

The identity
shows that is a particular solution. Combining it with the homogeneous solution from part (b) gives
The condition gives , and gives . Hence
The exact initial-value solution is . Since ,
Thus the absolute endpoint error is , consistent with the second-order truncation error of the centred scheme.

New to topics? Read the docs here!