A piston-cylinder device has 0.75 kg saturated vapor water at 200 kPa. It is now cooled at constant pressure, so the volume becomes half the initial volume by heat transfer
to the ambient at 20°C. Find the work, the heat transfer and the total entropy generation.