Difference between revisions of "RectangleSum Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{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 between the ''Start x-Value'' and the ''End x-Value'' the sum of rectangles with left height starting at a fraction ''d'' (0 &#8804; ''d'' &#8804; 1) of each interval, using ''n'' rectangles.
 
: Calculates between the ''Start x-Value'' and the ''End x-Value'' the sum of rectangles with left height starting at a fraction ''d'' (0 &#8804; ''d'' &#8804; 1) of each interval, using ''n'' rectangles.
 
: When ''d'' = 0 it is equivalent to the [[LeftSum Command|LeftSum]] command, and when ''d'' = 1 it computes the right sum of the given function.
 
: When ''d'' = 0 it is equivalent to the [[LeftSum Command|LeftSum]] command, and when ''d'' = 1 it computes the right sum of the given function.

Revision as of 16:15, 7 October 2017


RectangleSum( <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles>, <Position for rectangle start> )
Calculates between the Start x-Value and the End x-Value 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:
© 2024 International GeoGebra Institute