Adiabatic particle between moving parallel walls
= Adiabatic particle between moving parallel walls
For a one-dimensional particle of energy $E$ between walls separated by $L$, the unnormalized action is
$$
\mathcal I=\oint p\,dq=2L\sqrt{2mE}.
$$
Adiabatic conservation gives $E(t)L(t)^2=\text{constant}$.