Piston-driven shock with specific-heat ratio three (source code)

= Piston-driven shock with specific-heat ratio three

If a shock travels into stationary gas at speed $V$ while the downstream piston and gas travel at $V/3$, then for $\gamma=3$,
$$
\frac{\rho_1}{\rho_0}=\frac32,
\qquad
\frac{p_1}{p_0}=4,
\qquad
V=3\sqrt{\frac{p_0}{\rho_0}}.
$$