followed from Riemann sum
f∈c[a,b], partition evenly into N subinterval
h:=xi−xi−1=Nb−a
RN:=i=1∑Nf(xi∗)(xi−xi−1)=hi=1∑Nf(xi∗)
∣f′(x)∣≤M⇒
∫abf(x) dx−RN≤Mh(b−a)
Ti(x):=f(xi−1)+f′(xi−1)(xi−xi−1)TN:=i=1∑N∫xi−1xiTi(x) dx=hi=1∑Nf(xi−1)+2h2i=1∑Nf′(xi−1)
∣f′′(x)∣≤M⇒
∫abf(x) dx−TN≤6Mh2(b−a)
RN:=i=1∑Nf(xˉi)(xi−xi−1),xˉi=2xi−1+xi
∣f′′(x)∣≤M⇒
∫abf(x) dx−RN≤24Mh2(b−a)