Homework Statement
A body of mass M is connected to a vertical spring.Another body of mass m is placed on it.Calculate the amplitude of the oscillation of that system,with the condition that the body m always stays on top of body M(no jumps).No friction.
Homework Equations
mg=kx
mgh=0.5kx2...