So I have this question here which says:
"An object of mass m is thrown vertically upward from the surface of the earth. It is subject to a constant gravitational field and air resistance proportional to the square of the object's velocity. If $g > 0$ is the constant acceleration due to gravity and $b > 0$ is the coefficient of quadratic air resistance, then Newton's second law gives
$\frac{dv}{dt}=-g-\frac{b}{m}v^2$;
where v(t) = $\frac{dz}{dt}$ is the object's velocity as a function of time $t= 0$. (Here we assume that when the object is moving upward, its velocity is positive). Solve the differential equation to find $v(t)$ and the height $z(t)$ of the object as it travels upward. Find the maximum height of the object, if its initial velocity is $v_0 > 0$."
This is obviously separable and I get
$\frac{dv}{-g-\frac{b}{m}v^2}=dt$
Which I feel I did correctly. I should then be able to integrate and then solve...
If I integrate, I get...
$\int_{v_o}^v \frac{dv}{-g-\frac{b}{m}v^2}$ = $\int_{0}^t dt$
I assume my bounds are correct. If I try to integrate tough, I get a really nasty substitution problem and end up with arc tan so I'm a little skeptical of if that's the right process...
Any guidance?