traprule: Integration by Trapezoidal Rule

Description

Integration by Trapezoidal Rule

Usage

1
traprule(x, y)

Arguments

x

points of evaluation

y

function values

Details

Crude Riemann sum approximation.

Value

A real number.

Author(s)

R. Koenker


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.