Change of State and Thermal Energy