A block of mass M, at rest on a horizontal fictionless table, is attached to a rigid support by a spring of constant K. a bullet of mass m and velocity V strikes the block which compresses spring. the bullet is embedded in block. Determine
(a) the speed of the block immediatley after the collision, and
(b) the amplitude of the resulting simple harmonic motion. Details please