A sample of cooler water is placed in a large heat reservoir, mass $m$ and specific heat $c_p$ . I want to compute the change in entropy for the sample and the reservoir ( the environment ). I think I can do this with $$\Delta S_{sample} =\int_{T_H}^{T_C}dS=\int_{T_H}^{T_C}\frac{Q}{T}=\int_{T_H}^{T_C}\frac{c_p m dT}{T}$$
For the reservoir the temperature is constant and its entropy is $$\Delta S_{res}=\frac{Q_{res}}{T_{res}}$$
Where $Q_{res}$ is the heat transferred from the reservoir to the sample. Is the use of calculus above correct?