Algorithm that calculates how much space a car needs to accelerate to x mph at optimum acceleration