# 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.