1. Math
  2. Advanced Math
  3. in python find an approximation of the integral of f...

Question: in python find an approximation of the integral of f...

Question details

IN PYTHON. Find an approximation of the integral of f over [-1,1] by using (a) the simple trapezoidal rule over [-1,1] (b) the simple simpson rule over [-1,1] (c) the simple trapezoidal rule over [-1,0] and then over trapezoidal rule over [0,1]. Compute the error in each case and explain the differences in the accuracy of the results.

Let 1+2, 1-r -1-rSO f(x) = Find an approximation of the integral of f over-1 by using (a) the simple Trapezoidal rule over-1, 1]. (b) the simple Simpson rule over [-1, (e) the simple Trapezoidal rule Compute the error in each case and explain the differences in the accuracy of the over [-1,0 and then over Trapezoidal rule over 0, results

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution