Consider a system composed of a very large number $N$ of distinguishable atoms, non-moving and mutually non-interacting, each of which has only two (non-degenerate) energy levels: $0, \varepsilon>0$. Let $E / N$ be the mean energy per atom in the limit $N \rightarrow \infty$.
(a) What is the maximum possible value of $E / N$ if the system is not necessarily in thermodynamic equilibrium? What is the maximum attainable value of $E / N$ if the system is in equilibrium (at positive temperature, of course)?
(b) For thermodynamic equilibrium, compute the entropy per atom, $S / N$, as a function of $E / N$.