Consider a system of $N$ non-interacting particles ( $N \gg 1$ ) in which the energy of each particle can assume two and only two distinct values, 0 and $E(E>0)$. Denote by $n_0$ and $n_1$ the occupation numbers of the energy levels 0 and $E$, respectively. The fixed total energy of the system is $U$.
(a) Find the entropy of the system.
(b) Find the temperature as a function of $U$. For what range of values of $n_0$ is $T<0$ ?
(c) In which direction does heat flow when a system of negative temperature is brought into thermal contact with a system of positive temperature? Why?