The formula for the lateral surface area of a cylinder is S=2πrh , where r is the radius of the bases and h is the height.
Solve for h.
h=r2Sπ
h=2Sπr
h=S2πr
h=Sr2π
