Evaluate the volume formed by rotating the region bounded by $y=0$ and $y=\cos x$ for $\frac{\pi}{2}\le x\le\frac{3\pi}{2}$ about the y-axis.
I tried making $x=\cos^{-1}y$ then solving for $$\int_{{\frac{\pi}{2}}}^{\frac{3\pi}{2}}\cos^{-1}y\ dy$$ but clearly that is undefined. How do I solve this?
HINT
\begin{align*} V = \int_{\pi/2}^{3\pi/2}2\pi x|\cos(x)|\mathrm{d}x = -2\pi\int_{\pi/2}^{3\pi/2}x\cos(x)\mathrm{d}x \end{align*}
This might be helpful in order to understand such formula.