Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/ii/paper-3/13a/a/i/solution

Open ends impose . By separation of variables,
Expanding the initial constant gives , hence

New to topics? Read the docs here!