1kg of water that is initially at 90 degree celsius with a quality of 10 percent occupies a (linear) spring-loaded piston-cylinder device. Heating raises the pressure to 800kPa and temperature to 250 degree celsius. Determine the total work produced during this process.