Answer:
![S_(gen) = 18.519\,(kJ)/(K)](https://img.qammunity.org/2021/formulas/engineering/college/lq6euy3d98dhlgze38gopjv8ne31r7grqz.png)
Step-by-step explanation:
Given that rigid tank is a closed system, the following model is constructed after the First Law of Thermodynamics:
![W_(heater) + U_(sys,1) - U_(sys,2) = 0](https://img.qammunity.org/2021/formulas/engineering/college/hnbygly241xw07xflmjo4p92quobt4j4l7.png)
![W_(heater) = U_(sys,2) - U_(sys,1)](https://img.qammunity.org/2021/formulas/engineering/college/xx9hp1epdxxt3i45whuzow4ozg8ulv2uac.png)
![W_(heater) = m\cdot (u_(2)-u_(1))](https://img.qammunity.org/2021/formulas/engineering/college/2cektz7siwls6gocd75o254hf81sby4y0n.png)
The entropy generation inside the rigid tank is determined by appropriate application of the Second Law of Thermodynamics:
![S_(sys,1) - S_(sys,2) + S_(gen) = 0](https://img.qammunity.org/2021/formulas/engineering/college/y875fjon591e2xkot8xp74izgts8fwu5ch.png)
![S_(gen) = S_(sys,2) - S_(sys,1)](https://img.qammunity.org/2021/formulas/engineering/college/sgu391rdp7f0y2xciz7vlr1iqsknepi4d7.png)
![S_(gen) = m\cdot (s_(2)-s_(1))](https://img.qammunity.org/2021/formulas/engineering/college/337o8c9fjqq1n1ver7xsd4bd6y6ieryjf5.png)
The properties of the steam are obtained from steam tables:
Intial State
![P = 200\,kPa](https://img.qammunity.org/2021/formulas/engineering/college/jykud0b2qm90jde9y1p9i2zw1u1aymzlmx.png)
![T = 120.21\,^(\textdegree)C](https://img.qammunity.org/2021/formulas/engineering/college/j5x017dzx8e0d384o0cb7yi9dlakmosdd2.png)
![\\u = 0.2222\,(m^(3))/(kg)](https://img.qammunity.org/2021/formulas/engineering/college/hh4hthz1rfmjeei3k95utfhm5fzejqp1mc.png)
![u = 1010.7\,(kJ)/(kg)](https://img.qammunity.org/2021/formulas/engineering/college/cnqqoxa4yde2x6y8horcdg56fli8s4otso.png)
![s = 2.9294\,(kJ)/(kg\cdot K)](https://img.qammunity.org/2021/formulas/engineering/college/jibc2kv25p6i375vq457br6zknctzapvar.png)
![x = 0.25](https://img.qammunity.org/2021/formulas/engineering/college/7miyoxqyxsfh96w3r23644lmodrknxlqn0.png)
Final State
![P = 869.567\,kPa](https://img.qammunity.org/2021/formulas/engineering/college/jff8hxj8ey0mysda86w8ogjh3yhsrs1vd4.png)
![T = 173.88\,^(\textdegree) C](https://img.qammunity.org/2021/formulas/engineering/college/xvrhriavwnaz4bwm3j338hu89trim4myur.png)
![\\u = 0.2222\,(m^(3))/(kg)](https://img.qammunity.org/2021/formulas/engineering/college/hh4hthz1rfmjeei3k95utfhm5fzejqp1mc.png)
![u = 2578.6\,(kJ)/(kg)](https://img.qammunity.org/2021/formulas/engineering/college/ovc07ngs9jpy5lb8qcbh969e7cxbxoz7kd.png)
![s = 6.6332\,(kJ)/(kg\cdot K)](https://img.qammunity.org/2021/formulas/engineering/college/ijk39xyt68rub7qpd01rrsw37m6j92bomv.png)
![x = 1.00](https://img.qammunity.org/2021/formulas/engineering/college/1x7ka5tp99wxv1qep2b0fsbvq86hbhdqm0.png)
The entropy change of the steam during the process is:
![S_(gen) = (5\,kg)\cdot \left(6.6332\,(kJ)/(kg\cdot K) - 2.9294\,(kJ)/(kg\cdot K) \right)](https://img.qammunity.org/2021/formulas/engineering/college/vgg7u2t4zyzitwsy1g0iwu5pzkgze5nhkj.png)
![S_(gen) = 18.519\,(kJ)/(K)](https://img.qammunity.org/2021/formulas/engineering/college/lq6euy3d98dhlgze38gopjv8ne31r7grqz.png)