Let required height of body is y. When body from rest falls through height (S – y) Then under constant acceleration
v2=02+2g(S−y) v=√2g(S−y) ......(1) When body is at height y above ground. Potential energy of body of mass m U = mgy As per given condition kinetic energy, K = 3U