To find the density of a substance, we use the formula:
[tex]\[ \text{density} = \frac{\text{mass}}{\text{volume}} \][/tex]
Given the volume [tex]\( V = 20 \, \text{cm}^3 \)[/tex] and the mass [tex]\( m = 100 \, \text{grams} \)[/tex], we substitute these values into the formula:
[tex]\[ \text{density} = \frac{100 \, \text{grams}}{20 \, \text{cm}^3} \][/tex]
Performing the division:
[tex]\[ \text{density} = 5.0 \, \text{g/cm}^3 \][/tex]
The sample's density is [tex]\( 5.0 \, \text{g/cm}^3 \)[/tex].