Calculate the density of a rock composed of the four minerals listed below together with their abundances and densities.
| Mineral | Abundance by volume, % | Density, g/cm3 |
| Olivine | 15 | 3.30 |
| Augite | 50 | 3.20 |
| Plagioclase | 25 | 2.68 |
| Magnetite | 10 | 5.18 |
Hint: The total mass of the rock is the sum of the masses of its minerals