In class (see notes for lecture 10) we considered a system of N noninteracting spins at
temperature T in an external magnetic field H pointing along the z axis. These spins
have total angular momentum J = 1∕2 and g = 2. What is the entropy S of the system
as a function of T and H?