Three Things That Determine Thermal Energy