Harmonic motion and springs