Question: Write a function defined as: def Simpson(fcn, a, b, npoints = 21) Purpose: use Simpson's 1/3 Rule to estimate the integral of fcn(x) between the
Write a function defined as: def Simpson(fcn, a, b, npoints = 21)
Purpose: use Simpson's 1/3 Rule to estimate the integral of fcn(x) between the limits of a and b.
In this assignment you must use variables, loops, if statements, your own function definitions and function calls to write the required function. You may not use any of the powerful functions available in python modules, with two exceptions: you may import functions from the math module and the copy module.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
