Teaching the pit and the pendulum