A mass of water (1.5 kg) is initially is at 2MPa and 30 percent quality and found in a spring-loaded piston-cylinder device. This device is now cooled until the water is a saturated liquid at 100 o C. Compute the total work (in kJ) produced during the process.