Definite integral of rational function