Solution (source code)

= Solution

The <Bernoulli function> for steady unmagnetized flow without gravity is
$$
C_B=\frac{u^2}{2}+h.
$$
For a <polytropic equation of state>, $h=c_s^2/(\gamma-1)$. Evaluation at the critical point found in part b gives
$$
\boxed{
C_B=\frac{c_{\rm cr}^2}{2}
+\frac{c_{\rm cr}^2}{\gamma-1}
=\frac{\gamma+1}{2(\gamma-1)}c_{\rm cr}^2}.
$$
Consequently
$$
c_{\rm cr}^2=\frac{2(\gamma-1)}{\gamma+1}C_B.
$$
Since $C_B$ is conserved along a streamline, that streamline has a unique critical speed.