Question: Matlab: a) Write a program to compute the first-degree and third-degree polynomials that fit the data, displaying the polynomial coefficients. Remember to include text to
Matlab:
a) Write a program to compute the first-degree and third-degree polynomials that fit the data, displaying the polynomial coefficients. Remember to include text to describe the displayed coefficients.
(b) Compute and display (including what the information is) the sum of the squares for each curve fit.
(c) Plot the data and the two curve fits on a single plot, for 101 values of A in the range 0 ? A ? 9. Choose different line styles for each curve and generate a legend.
(d) Which curve fits better with the original data? What happens with the sum of squares between the 1st and 3rd degree polynomials? Does this make sense? (Answer as comments in the .m file)

Problem 3 The following table gives the drying time T of a particular paint as a function of the amount A of additive. A (oz): 2 T (min): 130 115110 9o 89 3995 (a) Write a program to compute the first-degree and third-degree polynomials that fit the data, displaying the polynomial coeficients. Remember to include text to describe the displayed coefficients. (b) compute and display tincluding what the information isi the sum of the squares for each curvt (c) Plot the data and thertwo curve fits on a single plot, for 101 values ofA in the range osAS9. Choose different line styles for each curve and generate a legend (d) Which curve fits better with the original data? What happens with the sum of squares between the 1 and 3rd degree polynomials? Does this make sense? (Answer as comments in the .m file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
