You can
put this solution on YOUR website!Let
R = radius of the sphere
r = radius of the cylinder (ie the radius of the circular faces on the cylinder)
h = height of the cylinder
If we inscribe a cylinder in a sphere, we'll get the following:
Now take a cross section of that to get
Now draw in the diagonal of the rectangle along with an extra radius. Also, add the labels of 'h', 'R' and 'r' to their appropriate places
Since we have a triangle with legs of

and

along with a hypotenuse of

, we can use the Pythagorean theorem to get the equation:

Start with the given equation.

Square

to get

Multiply EVERY term by the LCD 4 to clear out the fraction.

Subtract

from both sides.

Divide both sides by 4.
-----------------------------

Now move onto the surface area of a cylinder formula.

Plug in

Plug in

Square 8 to get 64

Multiply

Distribute
Take note how the surface area is now a function of the height 'h'. In other words, the height solely determines the surface area of the cylinder.
The goal now is to maximize

. Here are two ways to do this:
1) Derive

with respect to 'h' and set that derivative equal to zero. Solve that equation to find the max.
2) Use a graphing calculator to find the highest point on

. The y-coordinate of this point will be the largest surface area while the x-coordinate will be the height.
I'll let you finish up.