I'm interested in simulating the (one-dimensional) speed and position of a car.
How can I compute the speed $v(t)$ given initial speed $v_0$, acceleration $a(t)$ (I don't want to assume that it is constant) and a drag independent of the time and dependent only of the current speed in a quadratic way, i.e., $d(t) = d_0 \cdot v^2(t)$?
I'm stuck at $v(t) = \int a(t) dt$ and don't know how I can incorporate the drag.
0.98and then multiply by ∫a(t)dt – Mar 19 '14 at 14:15