Question: Write a code in Python that calculates the numerical integral of the function cos(X) in the interval -pi/2 to pi/2 of the simpson method (a
Write a code in Python that calculates the numerical integral of the function cos(X) in the interval -pi/2 to pi/2 of the simpson method (a numerical integration method) print your result, make a scale graph logarithmic of the error as a function of the number of points.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
