Steam at 75kPa and 13 percent quality is contained in a spring-loaded piston cylinder device, with an initial volume of 2 m^3. Steam is now heated until its volume is 5 m^3 ad its pressure is 300 kPa. Determine the heat transferred to and the work produced by the steam during this process. Answers are (526.5 kJ, 1438.5 kJ)