Two rigid tanks that are each 20 ft^3 are connected by a line containing a control valve that is initially closed. Tank A initially contains a saturated water mixture with a quality of 10% and a pressure of 450 psia whereas tank B initially contains saturated steam at a pressure of 20-psia. The valve is then opened until the final pressure in each tank is 300-psia. Determine the following:
(a) Final mass in each tank.
(b) Heat transferred during the process.
(c) Final temperature in the tanks.