Consider a system consisting of $N$ spin-$\frac{1}{2}$ particles,
each of which can be in one of two quantum states, ‘up’ and ‘down’. In a
magnetic field $B$, the energy of a spin in the up/down state is $\pm\mu B/2$
where $\mu$ is the magnetic moment. Show that the partition function is
\[Z = 2^N \cosh^N\!\left(\frac{\beta\mu B}{2}\right).\tag{1.1}\]
Find the average energy $E$ and entropy $S$. Check that your results for both
quantities make sense at $T=0$ and $T\to\infty$.
Compute the magnetisation of the system, defined by $M = N_\uparrow -
N_\downarrow$, where $N_{\uparrow/\downarrow}$ are the number of up/down spins.
The magnetic susceptibility is defined as $\chi \equiv \pd M/\pd B$. Derive
Curie's Law, which states that at high temperatures $\chi \sim 1/T$.