2. a) Compute the integral ſ f(x)dx using 5 point composite rectangle, trapezoid and Simpson rules for the following fun
Posted: Tue Jul 12, 2022 8:48 am
2. a) Compute the integral ſ f(x)dx using 5 point composite rectangle, trapezoid and Simpson rules for the following function: f(x) = x cos(x), a = 0, b = π/2 b) Estimate error using a posteriori error estimation formulas. c) Compute the analytical value of the integral and compare it with the ones given by numerical methods. Which rule gives more accurate result?