In a simple pendulum