A small rock with mass m moves at velocity v0 and hits a rod of mass M as shown. The rod is initially at rest. The collision is completely inelastic.
a) What is the angular velocity of the rod after the collision?
b) What is the maximum angle the rod makes with the vertical?