I would appreciate if somebody could help me with the following problem:
Q: Let $S$ be the region bounded by the curves $y=\sin x \ (0 \leq x \leq \pi)$ and $y=0$. Let $V(c)$ be the volume of the solid of obtained by rotating the region $S$ around the line $y=c \ (0 \leq c \leq 1)$.
Find $c_1$ such that $V(c_1)$ is the minimum of $V(c)$.
Find $c_2$ such that $V(c_2)$ is the maximum of $V(c)$.



Here is the answer. If $\frac{1}{2}\le c\le 1$, then $$ V(c)=2c^2\pi^2-2\int_0^{\arcsin c}\pi(\sin x-c)^2dx. $$ If $0<c<\frac{1}{2}$, then $$ V(c)=\int_{\arcsin c}^{\pi-\arcsin c}\pi(\sin x-c)^2dx+2c^2\pi\arcsin (2c)-2\int_{\arcsin c}^{\arcsin(2c)}\pi(c-\sin x)^2dx-2\int_0^{\arcsin c}\pi(c-\sin x)^2dx. $$ I will come back to finish this.