What determines the speed of atoms and molecules of a particular substance