A 10.5 g bullet embeds itself in a 0.450 kg block, which is attached to a spring of force constant 30.2 N/m. If the maximum compression of the spring is 1.7 cm, find the following.
(a) the initial speed of the bullet
(b) Find the time for the bullet-block system to come to rest.