TeX source:
\sum_{\mathrm{i}=1}^{\mathrm{n}}\left\{\mathrm{f}\left(\mathrm{c}_{\mathrm{i}}\right)-\mathrm{g}\left(\mathrm{c}_{\mathrm{i}}\right)\right\} \cdot \Delta \mathrm{x}_{\mathrm{i}} \longrightarrow \int_{\mathrm{a}}^{\mathrm{b}}\{\mathrm{f}(x)-\mathrm{g}(x)\} \mathrm{dx}