Solution:
Given data:
d= 20g/cm3
m= 10g
formula: d= m/v
By rearranging the formula according to our need:
v= m/d
by putting the values in the formula
v= 10g/20g/cm3
v= 0.5L
So, a rock that has a density of 20g/cm3 and a mass of 10 g would have the volume of 0.5L.