Search for question
Question

Consider the following data points: (-1, –14), (0, –5), (1, –4), (2, 1), (3, 23). (a) Find the least squares cubic fit y = ao + a1x + a2x +

a3x³ to the data points. (b) Use a computational plotting tool (e.g. MATLAB) to plot the data points and the fitted curve on the same axes.

Fig: 1

Fig: 2

Fig: 3

Fig: 4