A smooth wire of length 2π is bent into a circle and kept in a vertical plane. A bead can slide smoothly on the wire. When the circle is rotating with angular speed ω about the vertical diameter AB, as shown in figure, the bead is at rest with respect to the circular ring at position P as shown. Then the value of ω² is equal to: