Difference between revisions of "RectangleSum Command"

From GeoGebra Manual
Jump to: navigation, search
m (style)
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> ]:Calculates the sum of rectangles with left height starting at a fraction ''d'' of each interval using ''n'' rectangles. (''0<=d<=1'').
+
;RectangleSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles>, <Position for rectangle start> ]
:When ''d''= 0 this is equivalent to the [[LeftSum Command]] and when ''d''=1 this computes the right sum of given function.
+
: Calculates the sum of rectangles with left height starting at a fraction ''d'' (0 &#8804; ''d'' &#8804; 1) of each interval, using ''n'' rectangles.
:{{Note|1=<br>
+
: 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.
 +
: {{Note|1=<br>
 
:*This command draws the rectangles of the left sum as well.<br>
 
:*This command draws the rectangles of the left sum as well.<br>
:*See also the commands:
+
:*See also the commands: [[UpperSum Command|UpperSum]], [[LowerSum Command|LowerSum]], [[LeftSum Command|LeftSum]] , [[TrapezoidalSum Command|TrapezoidalSum]] }}
:**[[UpperSum Command|UpperSum]]
 
:**[[LowerSum Command|LowerSum]]
 
:**[[LeftSum Command|LeftSum]]  
 
:**[[TrapezoidalSum Command|TrapezoidalSum]]  
 
}}
 

Revision as of 18:53, 9 March 2013



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:
© 2024 International GeoGebra Institute