Calculating entropy changes

Entropy changes come from the tables for steam and refrigerants, from $c_p \ln\frac{T_2}{T_1} - R \ln\frac{P_2}{P_1}$ for an ideal gas, and from $c \ln\frac{T_2}{T_1}$ for a liquid or solid.

From Thermodynamics.