Inscribed a right circular cylinder of height h and radius r in a sphere of fixed radius R. Express the volume V of the cylinder as a function of h.

HINTS GIVEN:

(1) V = pi(r^2)(h).

(2) R = the hypotenuse and r = one of the legs of the right triangle in the cylinder.