Density of the substance =Mass of the substanceVolume of the substance=5020 g cm−3
=2.5 g cm−3
Density of water =1 g cm−3
If the density of an object is more than the density of a liquid, then it sinks in the liquid, otherwise, it floats.
Here the density of the substance is more than the density of water, so it will sink in water.