A solid consisting of $N$ molecules on a lattice of $N$ sites is isolated from its environment, and has energy $E$. Each molecule is fixed in position and independent of all others. It can be in any one of four internal states. Two of these states have energy $0$, while the other two states have energy $b$.
Consider $P=E/b$, so that $P$ is the number of molecules with energy $b$.
(a) Calculate the number of microstates of the solid when it has energy $E$.
(b) The solid is now placed in good thermal contact with its environment at temperature $T$. What is the solid's mean energy?
(c) Suppose $b=0.1 \mathrm{eV}$. What is the energy per molecule at $25^{\circ}C$?
I believe the number of microstates of the solid when it has energy $E$ is ${N/2 \choose bP}$.
However, I am not sure. Can someone clarify/guide, and assist with the latter parts?
