TeX source:
\frac{1}{2} x-\left.\frac{1}{4} \sin (2 x)\right|_{0} ^{\pi}=\frac{\pi}{2}