The x radius of this ellipse is 2 E / ω ω 2 m , while the p radius of the ellipse is 2 m E . Multiplying, the area is 2 π π E / ω ω . So if a pendulum is slowly drawn in, such that the frequency changes, the energy changes by a proportional amount.