The equation for density is:
[tex] D=\frac{m}{V} [/tex]
where the mass is in grams and the volume is in [tex] cm^{3} [/tex].
We are given 4,000 kilograms, and we know that there are 1,000 grams in 1 kilogram, so we need to multiply to convert to grams:
[tex] 4,000*1,000=4,000,000g [/tex]
We are also given 0.5 [tex] m^{3} [/tex], and we need to convert to [tex] cm^{3} [/tex]. We know that there are 100 cm in 1 m, and since we are talking about cubic volume, we must also raise 100 to the 3rd power: [tex] 100^{3}=1,000,000cm [/tex]. So now we know that there are 1,000,000 [tex] cm^{3} [/tex] in 1 [tex] m^{3} [/tex]. We need to then multiply 1,000,000 cm by 0.5 in order to find the volume that was given in the question:
[tex] 1,000,000*0.5=500,000cm^{3} [/tex]
So now that we have the correct units, let's plug them into the equation:
[tex] D=\frac{4,000,000g}{500,000cm^{3}} [/tex]
[tex] D=\frac{8g}{cm^{3}} [/tex]
So now we know that the density is 8g/cubic centimeter.