Acceleration as a function of position explained