A 0.12 m3 rigid tank initially contains refrigerant R-134a at 1 MPa and 100% quality. The tank is connected by a valve to a supply line
that carries refrigerant R-134a at 1.2 MPa and 36°C. Now the valve is opened, and the refrigerant is allowed to enter the tank. The valve
is closed when it is observed that the tank contains saturated liquid at 1.2 MPa. Determine
(a) the mass of the refrigerant that has entered the tank and
(b) the amount of heat transfer.