Question: Examine the following using Matlab: 3. (10 points) Computer project: find a least square polynomial approxima- tion of f(0) = H(L) (the heaviside function) on
Examine the following using Matlab:

3. (10 points) Computer project: find a least square polynomial approxima- tion of f(0) = H(L) (the heaviside function) on the interval (-1,1], min ( [f(2) Pr(2)]?dx J- 1 Use the composite Trapezoid rule with 100 quadrature points to approx- imate the integrals. Show the graphs of approximating polynomials for n=10,20,30. Compare them to the graph of f(x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
