1. Using the MATLAB instruction cond, find the condition numbers of Hilbert matrices for n = 4,5,...,12. Plot these condition numbers as a function of n using semilogy. What are your observations?
2. Construct the second degree polynomial q2(t) that approximates g(t) = sin(πt) on the interval [0,1] by minimizing