velocity of bob just before striking rod ,v = √2gL
after impact let vel. of rod(lowermost point) =v1
and vel. of bob =v2 (both in left direction)
now e =vel. of separationvel. of approach = v1-v2v .... (i)
from conservation of momentum ,
mv = Mv1 + mv2 ...(ii)
from i) and ii) v1 can be found
now vel. of center of mass of rod = v1/2
now lastly using conservation of energy for rod ,
increase in PE = Decrease in KE
MgL(1-cosθ)2 = 12M.(v12) 2
thus angle can be found.