Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Measurements of the fuel efficiency of a car F E at various speeds v are shown i

ID: 3633362 • Letter: M

Question

Measurements of the fuel efficiency of a car FE at various speeds v are shown in the table.

v(mi/h)    5       15       25      35       45     55       65       75
FE(MPG)     11     22      28      29.5     30       30       27        23

a. Curve-fit the data with a second-order polynomial. Use the polynomial to estimate the fuel efficiency at 60mi/h. Make a plot of the points and the polynomial.

b. Curve-fir the data with a third-order polynomial. Usethe polynomial to estimate the fuel efficiency at 60mi/h. Make a plot of the points and the polynomial.

c. Fit the data with linear and spline interpolations. Estimate the fuel efficiency at 60mi/h with linear and spline interpolations. Make a plot that shows the data points and curves made of interpolated points.


Use subplots to plot each part in a single window (four plots total). Include a title with your plots, but don't worry about labelling the axes or including a legend. Print the MPG estimation for each part to the command window

Explanation / Answer

They said second order polynomial. That is a quadratic equation. y = ax^2 + bx + c you have to find a, b and c. x is speed (V) y is fuel efficiency (Fe) Can you use built-in functions polyfit and polyval? Can you use the curve fitting tools available in figure windows in Matlab?