Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ib/paper-1/4d/solution

For
the Euler-Lagrange equation is
Here this becomes
Because the forcing is resonant with the complementary solution, a particular integral is . Hence
and
The Neumann boundary conditions give
Thus

New to topics? Read the docs here!