
Mark H. answered 10/31/19
Tutoring in Math and Science at all levels
Start by drawing a picture---you have a cylinder inside of a cone. At one end of the cylinder, the diameter is the same as the cone.
With the wide end of the cone down, we have the following relationships:
Volume of the cylinder = h * pi * r2
Radius of the cylinder at the height where it intersects the cone: r = (12-h)* 5/12
Substitute this equation for r into the equation for the volume of the cylinder:
V = h * pi * r2
V = h * pi * (12-h)* 5/12)2
Expand and Simplify:
V = h * pi * (5 - 5h/12)2
V = h * pi * (25 - 25h/6 + 25h2/144)
V = pi * 25 (h - h2/6 + h3/144)
V = pi *25*144 (h3 - 24h2 + 144h)
To find the maximum, take the 1st derivative and set = 0
V' = pi *25*144 (3h2 - 48h + 144) = 0
h2 - 16h + 48 = 0
h = 4, 12
Recognize that h = 12 is the upper limit, where the volume of the cylinder will be 0. The maximum occurs at h = 4.
To visualize all this---and to check it, use a graphing calculator or online tool to plot the equation.