TeX source:
W=\mathrm{KE}_{\mathrm{f}}+\mathrm{PE}_{\mathrm{g}}=\frac{1}{2} m v_{\mathrm{f}}^{2}+m g h