A man of mass 50 kg falls freely from a height of 40 m into a swimming pool and just come to rest at the bottom of the pool. Assume that the average upward force on the man due to water is 1000 N. If depth of water in the pool is d, then d is (g=10 m/s2)