1. Given the following function in the interval [-3, 3]:
\(g(x) = \frac{1}{1 + x^2}\)
Calculate the values of this function at every whole number in the interval; i.e.
x = [-3,-2,-1,0,1,2,3].
a. Interpolate a curve through these 7 points using the Vandermonde method. Show
your work, although you can use MatLab to solve the matrix.
b. What is the percent relative true error of the interpolation at x = -1.5?
c. What is the condition number based on row-sum norm of the scaled matrix you
had to solve? (Use MatLab to evaluate the matrix inverse)