In harmonic oscillatory motion, the acceleration is proportional to the restoring force. This is demonstrated here using Pasco's <i>Visual Accelerometer</i>; full scale is set at 1 m/s². Of course, in this damped oscillator, there is also friction.
<a href="//commons.wikimedia.org/wiki/User:Pieter_Kuiper" title="User:Pieter Kuiper">Pieter Kuiper</a>, Linnæus University, Sweden
Attribution
<span class="int-own-work" lang="en">Own work</span>