B10 - numerical integration

discrete riemann integral

abf(x)dx=limNk=1Nf(a+fΔx)Δx(right-sided rectangle)=limNk=1Nf(xk)Δz(left-sided rectangle)=limNk=0N1f(xk)Δz

simpson's rule

x0x2f(x)dx=Δx3(f0+4f1+f2)Δx590f(4)(x)