




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





April 26, 2012
x -1 0 2 y 4 1 7
. Suppose we know that there is a polynomial that relates x and y.
(a) Find the interpolating polynomial for the data by row reducing the appropriate matrix. Clearly show the steps.
(b) If x is 5, how much must be y? Clearly show what you are calculating.
x 0 1 3 y 7 3 -
(a) Show that it is impossible to interpolate it with a straight line.
(b) If you were to approximate the data with the line y = โ 2 x + 5, find the square error.
(c) Find the least squares line for the above data.
(d) Base on your answer to (3b) above, what can you say about the least squares error?.
yn = 1. 01 ynโ 1 โ 1001 , y 0 = 100, 000.
(a) Find the closed-form solution of the equation.
(b) Calculate y 25 , your final answer correctly rounded to two decimal places.
(c) Calculate the first value of n for which yn comes out to 0 (or as close as possible to 0). Clearly show all steps.