Consider the surface formed by revolving $y=\sin(x)$ about the line $y=c$ from some $0\le{c}\le{1}$ along the interval $0\le{x}\le{\pi}$.
Set up and evaluate an integral to calculate the volume $V(c)$ as a function of $c$.
(My attempt) $$ \begin{align} V &= \pi\int_0^\pi[(\sin(x))^2-c^2]dx \\ &= \pi\int_0^\pi[(\sin^2(x))-c^2]dx \\ &= \pi\int_0^\pi\left[\frac12(1-\cos(2x))-c^2\right]dx \\ &= \pi\left[\frac12(x-\sin(x)(\cos(x))-\frac{c^2x}{2}\right]_0^\pi \\ &= \pi\left[\left(\frac12(\pi-\sin(\pi)\cos(\pi)-\frac{\pi c^2}{2}\right)-\left(\frac12(0-\sin(0)\cos(0)-0\right)\right] \end{align} $$
So far... is this correct?
The second part of the question:
What value of c maximises the volume $V(c)$?
^ no idea on that one. help appreciated.

After several hours of frustration I have finally solved it:
$$V=\pi\int_0^\pi(\sin(x)-c)^2dx$$ $$V=\pi\int_0^\pi((\sin^2(x)+c^2-2c\sin(x))dx$$ $$V=\pi\int_0^\pi\left[\frac12(1-\cos(2x))+c^2-2c\sin(x)\right]dx$$ $$V=\pi\left[c^2x+2c\cos(x)+\frac{x}2-\frac14\sin(2x)\right]_0^\pi$$ $$V=\pi\left(\pi c^2-4c+\frac{\pi}2\right)$$ $$V=\pi^2c^2-4\pi c+\frac{\pi^2}2$$