Maturated water vapor at 800 kPa is isothermally condensed to a saturated liquid in a piston-cylinder device.
(a) Calculate the amount of heat transferred during this process.
(b) Calculate the amount of work done (either in or out) during this process.