A 10.0-g bullet is fired horizontally into a 101-g wooden block that is initially at rest on a frictionless horizontal surface and connected to a spring having spring constant 155 N/m. The bullet becomes embedded in the block. If the bullet-block system compresses the spring by a maximum of 90.0 cm, what was the speed of the bullet at impact with the block?