Find the volume of the largest right circular cone that can be inscribed in a sphere of radius 3.
A=πr^2 + πrl
The Attempt at a Solution
I did multiple things that I'm not sure are correct. I took the derivative for the volume with the value of h set to (9-x^2)^(1/2). The derivative I got was;
3π/2 * (9-x^2)^(-1/2) * (-2x)
Not really sure what to do. Think I need a hint on the steps that need to be taken. Picture of problem attached.