Numerical integration: Rectangular rule, trapezoidal rule, Simpson’s 1/3 and 3/8 rules