Question: 3. (10 points) Computer project: find a least square polynomial approxima- tion of f(:1) = H1) (the heaviside function) on the interval (-1,1], min |

3. (10 points) Computer project: find a least square polynomial approxima- tion of f(:1) = H1) (the heaviside function) on the interval (-1,1], min | [f() Pan()]?dr. 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
