4. (15%) A small block of mass \( m \) slides down a frictionless surface through height \( h \) and then sticks to a uniform rod of mass \( M \) and length \( L \) as shown. The rod pivots about point \( O \) through angle \( \theta \) before momentarily stopping. Find \( \theta \). Hint: The rotational inertia of a uniform thin rod about axis through the center perpendicular to the length \( L \) is \( \frac{1}{12}ML^2 \).