Description Usage Arguments Value Examples
Performs numerical integration
Creates a generic for integrateIt, using that as the default value.
1 2 3 | integrateIt(type, x, y, start, end, ...)
integrateIt(type, x, y, start, end, ...)
|
type |
The type of integration to perform - either "Simp" or "Trap". |
x |
A vector of x-values. |
y |
A vector of y-values. |
start |
The starting value for the integral. |
end |
The ending value for the integral. |
An object of the proper type, integrated.
An object of the proper type, integrated.
1 2 | integrateIt("Trap", 1:10, 1:10, 1, 10)
integrateIt("Trap", 1:10, 1:10, 1, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.