Question: Need Matlab code. 2. (15 points) Computer project: find a least squares cubic polynomial approximation of f(x) = In(x + 2) on the interval (-1,1],

Need Matlab code.
2. (15 points) Computer project: find a least squares cubic polynomial approximation of f(x) = In(x + 2) on the interval (-1,1], min C (f(x) P3(x))*dx. You may use 3-point Gaussian quadrature for the integrals. Express the polynomials using the Legendre polynomials and show the coefficients
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
