TeX source:
D_{\text{total}} = \int_0^T d(t) , dt