Q.
A spring gun having a spring of spring constant k is placed at a height h. A ball of mass m is placed in its barrel and compressed by a distance x. Where shall we place a box on the ground so that the ball lands in the box?
From law of conservation of energy, we have 21mv2=21kx2 ⇒v=mkx
Time taken to fall, t=g2h
So, horizontal distance travelled is d=vt=mkxg2h=mg2khx