Solve the following problem:
A thick-walled insulated chamber contains ni moles of helium at high pressure Pi. It is connected through a valve with a large, almost empty container of helium at constant pressure Po, very nearly atmospheric. The valve is opened slightly, and the helium flows slowly and adiabatically into the container until the pressures on the two sides of the valve are equal.
Assuming the helium to behave like an ideal gas with constant heat capacities, show that:
(a) The final temperature of the gas in the chamber is
Tf = Ti(Pf/Pi)(γ-1)γ
(b) The number of moles left in the chamber is
nf = ni(Pf/Pi)1/γ
(c) The final temperature of the gas in the container is
Tf = (Ti/γ) 1 - Pf/Pi / 1 - (Pf/Pi)1/γ