Question: 2. (a) Generate an approximation to integral of f(x)dx using a quadratic polynomial interpolant to f in lagrange form. Assume you have 3 equispaced points,
2. (a) Generate an approximation to integral of f(x)dx using a quadratic polynomial interpolant to f in lagrange form. Assume you have 3 equispaced points, including the end points a and b; that is, let x0 = a; x1 = (a + b)=2 and x2 = b be the 3 points. (b) Derive the corresponding error term for this quadrature rule.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
