Recall the Simpson rule:
∫abf(x)dx≈Δx3(f(x0)+4f(x1)+2f(x2)+4f(x3)+2f(x4)+⋯+2f(xn−2)+4f(xn−1)+f(xn))
where n is even and Δx=b−an.