Rotating solutions and stability of parametric pendulum by perturbation method