Steam at 75kPa and 13 percent quality is contained in a spring loaded piston-cylinder device with an initial volume of 3.90m^3. Steam is now heated until its volume is 9.75m^3 and its pressure is 300kPa. Determine the heat transferred to and the word produced by the steam during this process.