TeX source:
\frac{1}{2}mv^{2}+\frac{1}{2}kx^{2}=constant