Two pounds of an ideal gas are contained within a piston-cylinder arrangement. The initial volume and pressure are 1 ft3 and 75 psia respectively. The final volume is 3 ft3. compute the work done by the gas for the following processes:
(a) constant pressure,
(b) constant temperature.