TeX source:
\frac{1}{2}mL^{2}\omega^{2}+\frac{1}{2}mgL\theta ^{2}=constant