A cylindrical container having non conducting walls is partitioned into two equal parts such that the volume of each part is
V0. A movable non conducting piston is kept between the two parts. Gas on the left is slowly heated so that the gas on right is compressed up to volume
V08. Find pressure and temperature on both sides if the initial pressure and temperature were
P0 and
T0 respectively. Also, find heat given by the heater to the gas. (number of moles in each part is n)