Title: Resonance and Bifurcation to Chaos in Pendulum