Easy, you find the area of the circle (Pi X Radius squared) and then multiply it by the height. Your question asks about using the diameter...the radius is half of the diameter.
Chat with our AI personalities
Diameter = 2 * square root of {(volume / (pi * Height))} or in symbols d= 2 * (v/(pi * h))^1/2
The answer depends on what information you are given: volume and radius or diameter, or surface area and radius, etc.
pi*radius2*height = volume of a cylinder height = volume divided by pi*radius2
Make the height the subject of the fornula for the volume or surface area of the cylinder
Volume of a cylinder in cubic units = piradius2height