Description Usage Arguments Details See Also Examples
integrateA
is a tolerance wrapper for integrate
.
It allows integrate
to reach the maximum number of subdivisions.
1 2 3 |
f, lower, upper, ..., subdivisions, rel.tol, abs.tol, stop.on.error, keep.xy, aux |
see |
See integrate
.
1 2 3 4 5 6 | f = function(x) ifelse(x < 0, cos(x), sin(x))
#curve(f(x), -1, 1)
try(integrate(f, -1, 1, subdivisions=1)$value)
integrateA(f, -1, 1, subdivisions=1)$value
integrateA(f, -1, 1, subdivisions=2)$value
integrateA(f, -1, 1, subdivisions=3)$value
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.