A movable piston having a mass of 8.00 kg and a cross-sectional area of 5.00 cm2 traps 0.200 moles of an ideal gas in a vertical cylinder. If the piston slides without friction in the cylinder, how much work is done on the gas when its temperature is increased from 18°C to 308°C?