Integral of (x^3-1)/x^2