Fv=mg
FH=macm=mω2(2lsinθ)
Torque about the centre of mass due to forces acting at the pivot:
τcm=FH⋅(2lcosθ)−Fv⋅(2lsinθ)
τcm=(mω22lsinθ)(2lcosθ)−(mg)(2lsinθ)
Equating to the given rate of change of angular momentum (taking magnitudes in direction):
12ml2ω2sinθcosθ=(mg)(2lsinθ)−(mω22lsinθ)(2lcosθ)
12ml2ω2sinθcosθ+4ml2ω2sinθcosθ=2mglsinθ
3ml2ω2sinθcosθ=2mglsinθ
3lω2cosθ=2g⟹cosθ=2lω23g