1 | integrateIt(Rule, x, y, a, b)
|
Rule |
Which rule, either 'Trap' or 'Simp', one would like to use to estimate the integral |
x |
A vector of values |
y |
A vector of evaluated values |
a |
Lower bound of the integral |
b |
Upper bound of the integral |
An object of either class ‘Trapezoid’ or class 'Simpson' that contains
x
A vector of values
y
A vector of evaluated values
a
Lower bound of the integral
b
Upper bound of the integral
estInt
Estimated integral
Estimates the integral of a mathematical funciton using either the trapezoidal rule or Simpson's rule
integrateIt("Trap", 1:25, (1:25)^2, 4, 22)
Jacob H. Hample: jacob.hample@wustl.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.