We know that acceleration is:
a = v1 - v2/t
This is ok if we have a uniform acceleration, but what if the acceleration varies, say from friction or wind resistance on car? Is there a formula, or rather a function for the acceleration given the friction etc, or any other naturally unforseable circumstances that would affect the acceleration?