A bead of mass m stays at point P(a