Question
Figure. shows two vessels A and B with rigid walls containing ideal gases. The pressure, temperature and the volume are $p_A, T_A, V$ in the vessel A and $p_B, T_B$, V in the vessel B. The vessels are now connected through a small tube. Show that the pressure p and the temperature T satisfy $\frac{\text{p}}{\text{T}}=\frac{1}{2}\Big(\frac{\text{P}_\text{A}}{\text{T}_\text{A}}+\frac{\text{p}_\text{B}}{\text{T}_\text{B}}\Big)$ when equilibrium is achieved.



