This is LaTeX code:
[latex]
V = \pi \int_{0}^{\pi} x\sin^2 x \,dx= \frac{\pi}{8} (-\cos (2x) + 2x(x-\sin (2x))\vert_{0}^{\pi} = \frac{\pi^2}{4}
[/latex]