Maximize the volume an inscribed cylinder.

Problem statement:

Given a hemisphere of radius R determine the inscribed cylinder of maximum volume.

The accompanying animation uses R = 8.