Title: Fitting of polynomials by method of least squares (solution in terms of differences or sums)