The motion of a simple pendulum is governed by the nonlinear equation , where is the acceleration due to gravity and is the length of the pendulum. This is the equation that this Demonstration models. In contrast, for small , , which gives the linear equation .