A 28.5 g bullet strikes a 0.520 kg block attached to a fixed horizontal spring whose spring stiffness constant is 7730N/m . The block is set into vibration with an amplitude of 35.0 cm.
What was the speed of the bullet before impact if the bullet and block move together after impact?