Answer:
![5.000 (g)/(cm^3)](https://img.qammunity.org/2020/formulas/physics/college/z4zfbqyt3dez4s2toquhziy4xii8k72lq8.png)
Step-by-step explanation:
We can obtain our answer using conversion factors.
kg to g
We know that 1 kilogram is 1000 grams, this is
![1 \ kg = 1000 \ g](https://img.qammunity.org/2020/formulas/physics/college/sg3kwcgst6p4loqfxgr4y47ec55i20agvn.png)
Now, we can divide both sides by 1 kg
![(1 \ kg)/(1 \ kg ) = (1000 \ g)/( 1 \ kg)](https://img.qammunity.org/2020/formulas/physics/college/hpn9b0oayup0dkxxeeznb6wh93q21nqlsw.png)
![1 = (1000 \ g)/( 1 \ kg)](https://img.qammunity.org/2020/formulas/physics/college/bz02lobw4wf7i4gr9902pwc3j1plpo0lkk.png)
The left side of the equations is 1, this means that our conversion factor is dimensionless, and can be multiplied in any equation, without changing the physical meaning of it.
m^3 to cm^3
same as before, we know that 1 m equals 100 cm
![1 \ m = 100 \ cm](https://img.qammunity.org/2020/formulas/physics/college/wtitrchw5a52i9axrplclwxbk1s4eyiops.png)
Now, lets take the cube on both side of the equation
![(1 \ m)^3 = (100 \ cm)^3](https://img.qammunity.org/2020/formulas/physics/college/nj1ejr2vymdmbdhan4p9d05mvxqvtg1ki4.png)
![1^3 \ m^3 = 100^3 \ cm^3](https://img.qammunity.org/2020/formulas/physics/college/dl110uykxb1uxe8p3uc4c3k13upp18qxsk.png)
![1 \ m^3 = (10^2)^3 \ cm^3](https://img.qammunity.org/2020/formulas/physics/college/m853xd0jj5k4w6qsd0lx7396trw9cyv883.png)
![1 \ m^3 = 10^((2*3)) \ cm^3](https://img.qammunity.org/2020/formulas/physics/college/gdafk5lkqvkocay7krwl0sejnmnavlhdfi.png)
![1 \ m^3 = 10^6 \ cm^3](https://img.qammunity.org/2020/formulas/physics/college/cy7ne8lodw9smgf3lzcf7k8u4ho19wl05x.png)
Now, we can divide both sides by 10^6 \ cm^3 to obtain
![( 1 \ m^3 )/( 10^6 \ cm^3 ) = 1](https://img.qammunity.org/2020/formulas/physics/college/jdqkbwqocwynobxfqedxdpjbrxamx0e9ca.png)
Obtaining the density
Now, we can simply multiply the density for our conversion factors
![5000 (kg)/(m^3) * ( 1 \ m^3 )/( 10^6 \ cm^3 ) * (1000 \ g)/( 1 \ kg) =5 (g)/(cm^3)](https://img.qammunity.org/2020/formulas/physics/college/rrufaa0gij9xbwwtrasm11c2hjr7qia2ci.png)
We are allowed to do this, as our conversion factors are dimensionless and equal to one.