TeX source:
\text { area }=\int_{0}^{\pi} \sin (x) d x=-\left.\cos (x)\right|_{0} ^{\pi}=-(-1)-(-1)=2