a car alternately accelerating and slowing