Q.
A block of mass is at rest on an another block of same mass as shown in figure. Lower block is attached to the spring then the maximum amplitude of motion so that both the block will remain in contact is

Solution: