Below is a worked example of calculating the entropy change for a process that involves both a temperature change and a phase change.