1. A 1-L can of R-134a is at room temperature, 20?C, with a quality of 50%. A leak in the top valve allows vapor to escape and heat transfer from the room takes place, so we reach a final state of 5?C with a quality of 100%. Find the mass that escaped, the heat transfer, and the entropy generation, not including that made in the valve.
2. An empty can of 0.002 m3 is filled with R-134a from a line flowing saturated liquid R-134a at 0?C. The filling is done quickly, so it is adiabatic, but after a while in storage the can warms up to room temperature, 20?C. Find the final mass in the can and the total entropy generation.