A Study of the Reversible Pendulum