(a) The masses are equal, so the equilibrium temperature is the arithmetic mean of the absolute temperatures T1=353K and T2=293K:
Te=2353+293=323K(50°C)
(b) The hot water cools from 353K to 323K:
ΔShot=mclnT1Te=0,5⋅4186⋅ln353323=2093⋅(−0,0888)=−185,9J/K
The cold water warms from 293K to 323K:
ΔScold=mclnT2Te=0,5⋅4186⋅ln293323=2093⋅(+0,0975)=+204,1J/K
Summing:
ΔStot=−185,9+204,1≈+17,8J/K>0
The result is positive, as required by the second law for an irreversible process.
Te=323K, ΔS≈17,8J/K