The volume of a cylinder is V=πr2hV = \pi r^2 hV=πr2h. Solve for hhh.
h=Vπr2h = \frac{V}{\pi r^2}h=πr2V
h=Vπrh = \frac{V}{\pi r}h=πrV
h=Vπr2h = V \pi r^2h=Vπr2
h=πr2Vh = \frac{\pi r^2}{V}h=Vπr2