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