Difference between revisions of "RectangleSum Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{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 of each interval using n rectangles. (''0<=d<=1'') | + | :Calculates the sum of rectangles with left height starting at a fraction ''d'' of each interval using ''n'' rectangles. (''0<=d<=1''). |
+ | :When ''d''=0 this is equivalent to the [[LowerSum Command]] and when ''d''=1 this is equivalent to the [[UpperSum Command]]. | ||
{{Note|* This command draws the rectangles of the left sum as well. | {{Note|* This command draws the rectangles of the left sum as well. | ||
− | * See also [[LeftSum | + | * See also [[LeftSum Command]].}} |
Revision as of 13:10, 8 December 2011
- 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 of each interval using n rectangles. (0<=d<=1).
- When d=0 this is equivalent to the LowerSum Command and when d=1 this is equivalent to the UpperSum Command.
Note:
- This command draws the rectangles of the left sum as well.
- See also LeftSum Command.