Asymptotic Analysis of Resonances in Nonlinear Vibrations of the 3-dof Pendulum