Loading [MathJax]/extensions/Safe.js
Newton-Cotes rules for integration We briefly discuss the simplest integration of a function from an evaluation of the integrand at equally spaced points. We want to integrate $f(x)$ in the interval $[a,b]$ with $N$ points, $\Delta = (b-a)/N$. % matplotlib inline % config InlineBackend.figure_format = 'retina' import matplotlib.pyplot as plt import numpy as np import scipy.special plt . style . use ( 'style.mpl' )