TeX source:
B=\left(N C-\sum t_{i}\right) / N C