LeastSquareFitIntegrate.txt The indefinite integral of y = cr x^r + cr-1 x^r-1 +...+ c1 x + c0 is inty(x) = cr /r+1 x^r+1 + cr-1 /r x^r + c1 /2 x^2 + c0 x The definite integral from x=xa to x = xb is inty(xb) - inty(xa) Given the Least Square Fit coefficients ci i=0..r Use Horner's method to evaluate polynomials