(a) A system, maintained at constant volume, is brought in contact with a thermal reservoir at temperature $T_f$. If the initial temperature of the system is $T_i$, calculate $\Delta S$, change in the total entropy of the system + reservoir. You may assume that $c_v$, the specific heat of the system, is independent of temperature.
(b) Assume now that the change in system temperature is brought about through successive contacts with $N$ reservoirs at temperature $T_1+$ $\Delta T, T_{\mathrm{i}}+2 \Delta T, \ldots, T_{\mathrm{f}}-\Delta T, T_{\mathrm{f}}$, where $N \Delta T=T_{\mathrm{f}}-T_{\mathrm{i}}$. Show that in the limit $N \rightarrow \infty, \Delta T \rightarrow 0$ with $N \Delta T=T_{\mathrm{f}}-T_{\mathrm{i}}$ fixed, the change in entropy of the system + reservoir is zero.
(c) Comment on the difference between (a) and (b) in the light of the second law of thermodynamics.