Description Usage Details Author(s)
Object of class trapezoid
are created by the integrateIt
function
which is created by x
and y
and a
and b
and choose_calc
and the result is printed by print_trap
1 2 3 | getsimpson(object = "simpson")
gettrapezoid(object = "trapezoid")
|
An object of the class ‘trapezoid’ has the following slots:
x
The x-values of the function.
y
The y-values of the function
a
The starting point on the x-axis of integration.
b
The ending point on the x-axis of integration.
calc
The resulting Trapezoidal sum by integration.
Joseph Ludmir: jludmir@wustl.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.