An inverted pendulum consisting of a sphere of weight W and a rigid bar ABC of length l and negligible weight is supported by a pin and bracket at C. A spring of constant k is attached to the bar at B and is undeformed when the bar is in the vertical position shown. Determine
(a) the frequency of small oscillations,
(b) the smallest value of a for which these oscillations will occur.