bound on error of Simpson’s ruleIf f is Riemann integrable on [a,b] and |f(4)(x)|≤M for all x∈[a,b], then|∫abf(x)𝑑x-(b-a3n)(f(a)+f(b)+4∑j=1n2f(a+(b-a)(2j-1)n)+6∑j=1n-22f(a+(b-a)(2j)n))|≤M(b-a)5180n4.