Trapezoidal rule is a technique for approximating the definite integral.
intgrat(f, delta)
f
Function values to be integrated.
delta
Spacing size.
intgrat returns the value of the intergral.
intgrat