A large glass flask holds air, and a sensor measures the pressure inside, as shown in the figure.

Air is pumped in through the tap until the pressure is steady at at room temperature. The tap is then opened for about a second, so that the pressure drops quickly to the outside value , and closed again. Over the next few minutes the pressure in the closed flask rises and settles at . (Hypothetical data.)
(a) Explain why the air left in the flask is cooler than the room just after the tap is closed.
(b) Explain why the pressure then rises to .
(c) For the air that stays in the flask, use for the quick change and between the first and last states to show that . Find for air.
