Define the internal energy of a substance.
A sample of molten lead is solidifying into solid lead at a constant temperature of 327∘C327^\circ\text{C}327∘C. Use the behaviour of the lead atoms to describe and explain the changes to the internal energy of the lead as it solidifies.