A gas cylinder is mounted vertically and sealed by a freely movable light piston. The external air pressure is negligible. A mass $m_1$ is placed on the piston, and initially the system is in equilibrium, such that the weight of this mass is supported by pressure forces provided by the gas. The piston is then temporarily prevented from moving, while the mass is increased to $m_2$, and then the piston is released. Treating the gas as ideal with $\gamma=5 / 3$, find, in terms of $m_1$ and $m_2$, the ratios by which the volume and temperature of the gas change:
(i) in the case $\mathrm{A}$, where the piston moves freely and the total system energy $U_{\text {tot }}$ stays constant (where by $U_{\text {tot }}$ we mean the sum of gravitational potential energy of the mass and internal energy of the gas)
(ii) in the case B, where the piston is released gradually, such that the change in volume is quasistatic and without heat exchange.
[Ans. $V_2 / V_1=\left(3 m_1+2 m_2\right) / 5 m_2$ and $\left(m_1 / m_2\right)^{3 / 5} ; T_2 / T_1=\left(3 m_1+\right.$ $\left.2 m_2\right) / 5 m_1$ and $\left.\left(m_2 / m_1\right)^{2 / 5}\right]$ This experiment is explored further in Exercise 7.2 of chapter 17 .