traprule function

Trapezoid Rule Numeric Integration