A ball
B of mass
m is projected with some velocity from a block A of mass
2m kept on a smooth horizontal surface. The ball strikes the wall elastically and comes back to the block A. Find the distance of block A from the wall when ball reaches back to it. Velocity in
B is generated by a compressed spring fixed to block A. When the ball leaves spring, the distance of block from wall is
d. (Neglect gravity)