In the figure, a small 0.161 kg block slides down a frictionless surface through height h = 0.507 m and then sticks to a uniform vertical rod of mass M = 0.322 kg and length d = 2.46 m. The rod pivots about point O through angle θ before momentarily stopping. Find θ.