A thermally insulated cylinder, closed at both ends, is fitted with a frictionless heat-conducting piston which divides the cylinder into two parts. Initially, the piston is clamped in the center, with 1 litre of air at 200 K and 2 atm pressure on one side and 1 litre of air at 300 K and 1 atm on the other side. The piston is released and the system reaches equilibrium in pressure and temperature, with the piston at a new position.
(a) Compute the final pressure and temperature.
(b) Compute the total increase in entropy.
Be sure to give all your reasoning.