TeX source:
\tau=\frac{n_c-n_d}{\frac{1}{2}n(n-1)}