A smooth wire is bent into a vertical circle of radius a. A bead P can slide smoothly on the wire. The circle is rotated about vertical diameter AB as axis with a constant speed ω as shown in figure. The bead P is at rest w.r.t the wire in the position shown. Then ω2 is equal to: