Difference between revisions of "RectangleSum Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;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 is equivalent to the [[RightSum Command]].
+
:When ''d''=0 this is equivalent to the [[LeftSum Command]] and when ''d''=1 this computes the right sum of given function.
 
{{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 [[UpperSum Command]].}}
 
* See also [[UpperSum Command]].}}

Revision as of 09:14, 13 June 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:
  • This command draws the rectangles of the left sum as well.
  • See also UpperSum Command.
© 2024 International GeoGebra Institute