A movable piston having a mass of 8.00 kg and a cross-sectional area of 5.00 cm2 traps 0.430 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 17°C to 297°C?