Driven pendulum, Resonance

A pendulum is made using two button magnets and a piece of paper. It is suspended on horizontal needle. A coil, powered by SQ1, is kept in front of that. The pendulum will start oscillating and the amplitude will go very high at resonance.