Question: a) Compute the integral f f(x) dx using 5 point composite rectangle, trapezoid and Simpson rules for the following function: f(x) = x cos(x),
a) Compute the integral f f(x) dx using 5 point composite rectangle, trapezoid and Simpson rules for the following function: f(x) = x cos(x), a = 0, 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? b = 2n
Step by Step Solution
3.33 Rating (156 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
