Dependence of the population on the temperature in the Boltzmann distribution: a simple relation involving the average energy