Integration by Trapezoidal Rule
traprule(x, y)
x
points of evaluation
y
function values
Crude Riemann sum approximation.
A real number.
R. Koenker