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