Water at 150 kPa is contained in a 300 L tank.At this state (state 1), 95% of the volume isoccupied by saturated vapour. Heat istransferred to the water thereby raising itspressure and temperature until state 2 isreached. At a pressure of P2 = 3 MPa a safety valve opens and vapour flows out. The processcontinues, maintaining a 3 MPa internalpressure until 73% of the mass in the tank is avapour, then the valve closes (state 3).Determine the following:
a) Total mass that flowed out, me [kg]
b) Total heat transfer, 1Q3 [J] (state 1 to state 3).