Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/ii/paper-2/7d/a/solution

Substituting
and using gives
It is therefore enough to require
and choose so that the integral converges and vanishes at its endpoints. Solving the amplitude equation,

New to topics? Read the docs here!