This Demonstration models a pendulum attached to a movable pivot, using Lagrangian mechanics. Frictional forces such as air resistance are neglected. The initial angle from the vertical axis is designated (in radians). The initial velocity of the entire system is given by .