A mass attached to an ideal spring is the prototype of every oscillator. The restoring force and Newton’s second law give the equation of simple harmonic motion; its solution is a sinusoid with three parameters (amplitude, angular frequency, phase), from which we derive velocity and acceleration.