Figure 2.5: Two examples of ideal harmonic oscillators: a spring-mass oscillator and a pendulum. The masses are displaced by the distance, x , and perform oscillations at natural frequency, f 0 . The restoring force is provided by the spring or gravity, respectively.