dv/dt = g - kv^2/m, v(0)=0