A 0.2-m^3 rigid tank equipped with a pressure regulator contains steam at 2MPa and 320C. The steam in the tank is now heated. The regulator keeps the steam pressure constant by letting out some steam, but the temperature inside rises. Determine the amount of heat transferred when the steam temperatures reaches 540C.