cylinder n sphere

a circular cylinder is to fit inside a sphere of radius 10cm. calculate the maximum possible volume of the cylinder. (it is probably best to take as your indpendent variable the height or half the height of the cylinder).
i'm stuck here cos i don't know where to start. i drew a section of the both to try and find a clue but i'm lost. any hints?