Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ii/paper-4/39c/b/i/solution

Before shock formation, the piston launches a right-moving simple wave into the undisturbed gas. The opposite invariant is fixed at its ambient value:
Therefore the simple-wave relation is

New to topics? Read the docs here!