The volume of a cylinder is represented by the equation
V = pir^2hV=πr2h
Which, if you might notice, is simply the equation for the area of a circle, pir^2πr2, multiplied by the height, hh.
The diameter is equal to 2r2r, so r = 1/2(0.5"m") = 0.25"m"r=12(0.5m)=0.25m
The volume of the cylinder is thus
V = pi(0.25m)^2(0.75m) = 0.15 "m"^3V=π(0.25m)2(0.75m)=0.15m3
The equation for density is
rho = m/Vρ=mV
Density is equal to the mass of the substance per unit volume.
Density is often expressed in units of "g"/"cm"^3gcm3, so let's convert our units to these:
0.15cancel("m"^3)((100^3"cm"^3)/(1cancel("m"^3))) = 1.5 xx 10^5 "cm"^3
122cancel("kg")((10^3"g")/(1cancel("kg"))) = 1.22 xx 10^5 "g"
So our density is, in "g"/"cm"^3,
rho = (1.22 xx 10^5 "g")/(1.5 xx 10^5 "cm"^3) = color(red)(0.81"g"/"cm"^3