\int\frac{1}{\sqrt{ax^2+bx+c}}dx=\frac{1}{\sqrt{a}}\ln \left| 2ax+b + 2 \sqrt{a(ax^2+bx+c)} \right | + C