This function computes the area under the curve using
Simpson's (composite) rule, for a function f(x)
evaluated over equally spaced points x
.
1 | simp(x, y)
|
x |
A vector of values |
y |
A vector of values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.