Description Usage Arguments Value Note Author(s) References See Also Examples
A function that calculates the approximate value of the definite integral of a continuous function. In other words, it can help plot the area under the curve of the plotted function between two limits.
1 | trapezoid(x, y)
|
x |
The values to be used along the x-axis while plotting the curve of the function. The x in f(x)=y |
y |
The values to be used along the y-axis while plotting the curve of the function. The y in the f(x)=y. |
The area under the curve plotted with the x and y values provided as arguments.
Using this method is slightly less accurate than using the simpson integration method
Douaa Mugahid
Weisstein, Eric W. "Trapezoidal Rule." From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/TrapezoidalRule.html
1 2 3 |
[1] 5000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.