Consider a system, at temperature 400 K, consisting of 1000 molecules, each having only two accessible states, with energies ε0 = 0 and ε1 = 0.1 eV, respectively. Find
(a) the probability for a molecule to be in the excited state,
(b) the average energy of the system.