TeX source:
\displaystyle\int \limits_0^2 \dfrac{1}{2}\left(x^2-e^x\right) \, dx