please help me im stuck.

A 400 g air-track glider attached to a spring with spring constant 9.00 N/m is sitting at rest on a frictionless air track. A 600 g glider is pushed toward it from the far end of the track at a speed of 94.0 cm/s. It collides with and sticks to the 400 g glider.
What is the amplitude of the subsequent oscillations?
What is their period?

1 answer

use conservation of momentum to find the velocity of the combined masses.

Using that, find KEinitial 1/2 (combinedmass)newvelocity^2

Set that equal to PE max 1/2 kx^2
solve for x, amplitude

Period=2PI sqrt(m/k)