How do you find the density of a cyclinder if you are only given the diameter, height and mass?

2 answers

density= mass/volume=mass/(height*radius^2*pi)

of course, radius is one half of diameter.
Thank You!:)