Object of class simpson 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
An object of the class ‘simpson’ 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 Simpson 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.