Molecular vibrations
Using quantum mechanics, the formula that describes the spring is exactly the same as the Newtonian mechanics version except only certain energies or energy levels are allowed. Think of the energy levels as steps on a ladder where a person can only go up or down one rung at a time. Just as that person can't stand on the space between rungs so the bond can not have an energy between energy levels. This new formula becomes: