17: The condition that the cylinder is inscribed in a ball means that its bases must touch the sphere. Symmetry of the situation means that the whole information can be captured by a 2D-crosssection through the axis of the cylinder, connecting one touching point with the center of the circle one gets a useful triangle.
The resulting equation
The function
should be maximized over the set
Actually, an experienced problem solver would maximize the function