Energy Balancing with the Pendulum