latex-exercises: harmonic oscillator