Given that:
Mass, m = 100 grams
Volume, V = 25 cubic centimetres
We know that:
Density = m / V = 100 grams / 25 cubic centmetres
Density = 4 grams per cubic centimetre
We also know that
1 gram per cubic centimetre = 1000 kilograms per cubic metre
Therefore,
4 grams per cubic centimetre = 4000 kilograms per cubic metre