a race car engine revs as it accelerates and decelerates