Entropy density (source code)

= Entropy density
{title2=$s$}
{wiki}

For a homogeneous equilibrium system with <energy density> $\rho$, <pressure> $P$, <chemical potential> $\mu$, and <number density> $n$, the entropy density is
$$
s=\frac{\rho+P-\mu n}{T}.
$$