Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-354/2/b/ii/solution

The Lagrangian has no explicit dependence, so its Beltrami identity is conserved:
At the turning point and , the constant is . Rearrangement gives

New to topics? Read the docs here!