OptionaldomainWhat is cut in rectangles. By default the domain of the plot, which then must have one (the plot is not drawn on a domain by default).
The plot whose sum is drawn.
OptionalpositionWhere the plot is read in each interval, from 0 (its left end) to 1 (its right end): 0.5 is the middle. 0 by default.
OptionalrectanglesHow many rectangles, an integer from 1 to 1000. 5 by default.
A Riemann sum: rectangles from the x axis to the graph of a plot, the domain cut in intervals of the same width.