In: Advanced Math
a) What is the difference between regression and
interpolation?
b) Use least squares regression to fit a straight line to the data
given in Table 1 and
calculate the y value corresponding x=3.
c) Find the Lagrange interpolating polynomial using the data given
in Table 1 and
calculate the y value corresponding x=3.
Table 1
x | 0 | 2 | 4 | 6 |
y | 5 | 6 | 3 | 8 |