View source: R/trapezoidal.rule.R
trapezoidal.rule | R Documentation |
This functions implements the trapezoidal rule for numerical integration of a function f over a threshold.
trapezoidal.rule(f, step, y)
f |
Function to be integrated. |
step |
Numeric value of the distance between points for integration. |
y |
Numeric value of the threshold. |
A numeric value of the integral.
Paula Saavedra-Nieves and Rosa M. Crujeiras.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.