And what if the acceleration is not constant ;)?