TeX source:
= h_s [∫^{ts}_0 (p_s−p_m) tdt + ∫^{Ts}_{t_s} p_m (T_s−t) dt ]