A thermally insulated chamber of volume 2V0 is divided by a frictionless piston of area S into two equal parts A and B. Part A has an ideal gas at pressure P0 and temperature T0