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