A vertical cylinder is divided into two parts by a movable piston of mass m. The piston and cylinder system is well insulated (that is, no heat can flow in or out of the system) and the piston is initially held at rest. The top part of the cylinder is evacuated and the bottom part is filled with 1.00 mole of diatomic ideal gas at temperature 332 K. After the piston is released and the system comes to equilibrium, the volume occupied by gas is halved. Find the final temperature of the gas.