A 2.25g bullet imbeds itself in a 1.50-kg block, which is attatched to a spring of force constant 785N/m. If the maximum compression of the spring is 5.88cm, find (a) the initial speed of the bullet and (b) the time for the bullet block system to come to rest.