The value of the integral $\int_{0}^{\pi} x \cos ^{2} x d x$ is
(A) $\pi^{2} / 8$
(B) $\pi^{2} / 4$
(C) $\pi^{2} / 2$
(D) $\pi^{2}$
The value of the integral $\int_{0}^{\pi} x \cos ^{2} x d x$ is
(A) $\pi^{2} / 8$
(B) $\pi^{2} / 4$
(C) $\pi^{2} / 2$
(D) $\pi^{2}$