Difference between revisions of "RectangleSum Command"
From GeoGebra Manual
m |
m |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} |
− | {{command|function}} | ||
;RectangleSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles>, <Position for rectangle start> ] | ;RectangleSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles>, <Position for rectangle start> ] | ||
: Calculates the sum of rectangles with left height starting at a fraction ''d'' (0 ≤ ''d'' ≤ 1) of each interval, using ''n'' rectangles. | : Calculates the sum of rectangles with left height starting at a fraction ''d'' (0 ≤ ''d'' ≤ 1) of each interval, using ''n'' rectangles. |
Revision as of 14:32, 10 August 2015
- RectangleSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles>, <Position for rectangle start> ]
- Calculates the sum of rectangles with left height starting at a fraction d (0 ≤ d ≤ 1) of each interval, using n rectangles.
- When d = 0 it is equivalent to the LeftSum command, and when d = 1 it computes the right sum of the given function.
- Note:
- This command draws the rectangles of the left sum as well.
- See also the commands: UpperSum, LowerSum, LeftSum , TrapezoidalSum
- This command draws the rectangles of the left sum as well.