Hi there, I'm trying to create a computer model which takes into account output power in a car due to acceleration, drag and rolling resistance. The car will be accelerating for a set amount of time and I am able to model the power required for this with respect to time, as well as the power required for the rolling resistance and drag as it is accelerating. However, after it reaches a certain velocity, its velocity will remain constant (the acceleration power will drop to zero and the drag and rolling resistance will then be constant). Is there anyway of fitting all of this into one formula for programming purposes so that when it reaches a certain velocity it will then remain constant? Thanks for any help.