Write a one complete program with the following capabilities;
Fitting with least squares method
Interpolating with a polynomial of order four ()
Estimate the y-values for the x-values of 2.5 and 5.
Compare your estimated values from both methods.
Hints: You need to linearize the formula for the least squares method. You can make use of code segments (not as a full program) of previous lab studies.