Difference between revisions of "RectangleSum Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.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'' 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 [[LeftSum Command]] and when ''d''=1 this computes the right sum of given function.
:When ''d''=0 this is equivalent to the [[LeftSum Command]] and when ''d''=1 this computes the right sum of given function.
+
:{{Note|1=<br>
{{Note|* This command draws the rectangles of the left sum as well.  
+
:*This command draws the rectangles of the left sum as well.<br>
* See also [[UpperSum Command]].}}
+
:*See also the commands:
 +
:**[[UpperSum Command|UpperSum]]
 +
:**[[LowerSum Command|LowerSum]]
 +
:**[[RectangleSum  Command|RectangleSum]]
 +
:**[[LeftSum Command|LeftSum]]
 +
:**[[TrapezoidalSum Command|TrapezoidalSum]]
 +
}}

Revision as of 04:59, 23 November 2012



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 LeftSum Command and when d=1 this computes the right sum of given function.
Note:
© 2024 International GeoGebra Institute