Independent-spin magnetic entropy (source code)

= Independent-spin magnetic entropy

For independent moments with magnetic energies $\mp\mu B$, $Z=(2\cosh x)^N$ and $S=Nk_B[\ln(2\cosh x)-x\tanh x]$, where $x=\mu B/(k_BT)$. This counts the magnetic orientations only, excluding translational and lattice <entropy>.