A 2.30-g bullet embeds itself in a 1.40-kg block, which is attached to a spring of force constant 780N/m .
A) If the maximum compression of the spring is 5.80cm , find the initial speed of the bullet.
B) Find the time for the bullet-block system to come to rest.