v(t)=\frac{av_0+a^2 \tan \frac{ct}{m}}{a-v_0\tan \frac{ct}{m}}