3. Ten (10) kg of superheated water vapor in an uninsulated, rigid vessel with $P_1 = 1$ bar, $T_1 =$
320°C has properties $u_1 = 2842$ kJ/kg, $v_1 = 2.732$ m³/kg, $h_1 = 3115$ kJ/kg, and $s_1 = 8.2849$
kJ/kg-K. This vessel is exposed to an environment which has a constant temperature of $T_o =$
20°C. Heat, $Q_{12}$, is then rejected from the water until State 2 is reached which has a pressure
of $P_2 = 0.5$ bar. For these conditions determine:
a. $T_2$, in K
b. $Q_{12}$, in kJ
c. $S_{gen}$, the entropy of the system plus the surroundings, in kJ/K
d. Explain briefly whether this process is reversible, irreversible, or impossible