text: Another type of motion of a diatomic molecule is for each atom to oscillate—or vibrate—along the line connecting the two atoms. The vibrational energy is approximately that of a quantum harmonic oscillator:
  :where
  :: is an integer
  :: is the reduced Planck constant and
  :: is the angular frequency of the vibration.