I have tried to calculate the volume of of the solid bound by the function
$y = (-x^2+6x-5)^2$ and $y = x-1$ around the line $x =6$. Here is my work. The answer should be $\frac{63\pi}{2}$ but I'm getting a different answer.
Have I made a mistake somewhere? Or is the answer key wrong.
I started by saying the functions intersect at $x = 1$ and $x = 4$, and since the functions are wrt $x$, I'm using shells, so I set up the integral:
$V =2\pi \int_1^4 x(6-(-x^2+6x-5))-x(6-(x-1))^2dx $
Which all simplifies to
$2\pi \int_1^4 2x^3-8x^2+6x dx$
and so the solution to the integral is:
$2\pi(3x^2+\frac{1}{2}x^4-\frac{8}{3}x^3)$
Plugging in the bounds gives me $9\pi u^3$.
I'm not sure if I set this up wrong or if I made some error, but it's been a while since I did volumes! Any help is much appreciated