The pendulum