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 Physics Question Image

 2340  210 Oscillations Report Error

Solution:

image
The blocks will remain in contact till the blocks do not go above the natural length of the spring, because after this condition the deceleration of lower block becomes more then upper block due to spring force. So they will get separated.
So maximum possible amplitude