polynomial-fitting Least square polynomial fitting I approximate two data sets with a polynomial curve. With the two data sets I use two different methoas; the QR factorization method and to solve the normal equations.