One mole of a dilute gas initially has a pressure equal to 1.00 atm, and a volume equal to 27.0 L. As the gas is slowly heated, the plot of its state on a PV diagram moves in a straight line to the final state. The gas now has a pressure equal to 5.00 atm, and a volume equal to 80.0 L.
(a) Find the work done by the gas.
(b) Find the heat absorbed by the gas.