a vehicle accelerating then decelerating