6. The rigid tank illustrated in the figure has a volume of0.6 m3 and initially contains water at 15 bar and a quality of 0.2. The water is now heated while allowing the steam exiting this rigid tank at 15 bar. Heating continues until the quality of water reaches 1 at given pressure. Neglecting the changes in both kinetic and potential energy, and the heat loss from water to ambient air. (12 Points) (a). Determine the total mass in the tank at the initial and final states, in kg. (4 point) (b). Calculate the amount of heat transfer, in kJ, during this process. (6 Points)

Fig: 1

Fig: 2

Fig: 3