Main Content
rsums
Interactive evaluation of Riemann sums
Description
rsums(
interactively approximates the
integral of f(x) by middle Riemann sums for
x from 0 to 1. f
)rsums(f)
displays a graph of
f(x) using 10 terms (rectangles). You can adjust the
number of terms taken in the middle Riemann sum by using the slider below the graph. The
number of terms available ranges from 2 to 128. f
can be a character
vector or a symbolic expression. The height of each rectangle is determined by the value of
the function in the middle of each interval.
Examples
Input Arguments
Version History
Introduced before R2006a
See Also
taylortool
| int
| funtool