**Solution**

Given, pressure (P) = 5000 Pa,

depth (h) = 2 m,

density (d) = ?

Acceleration due to gravity (g) = 10 m/s^{2}

We know that,

p = h×d×g

Or, 5000 = 2×d×10

Or, \(d=\frac{5000}{20}\)

∴ d = 250 kg/m^{3}

Hence, the density of the liquid is 250 kg/m^{3}