Difference between revisions of "LeftSum Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;LeftSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> ]
 
;LeftSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> ]
 
:Calculates the left sum of the function in the interval [''a, b''] using ''n'' rectangles.
 
:Calculates the left sum of the function in the interval [''a, b''] using ''n'' rectangles.
{{example| 1=<div><code><nowiki> LeftSum[x^2 + 1, 0, 2, 4]</nowiki></code> yields a = 3.75 </div>}}
+
:{{example|1=<br><code><nowiki>LeftSum[x^2 + 1, 0, 2, 4]</nowiki></code> yields a = 3.75}}
{{Note|* This command draws the rectangles of the left sum as well.  
+
:{{Notes|1=<br>
* See also [[RectangleSum Command]], [[LowerSum Command]] and [[UpperSum Command]].}}
+
:*This command draws the rectangles of the left sum as well.<br>
 +
:*See also the commands:
 +
:**[[RectangleSum Command]]
 +
:**[[TrapezoidalSum Command|TrapezoidalSum]]
 +
:**[[LowerSum Command]] and  
 +
:**[[UpperSum Command]]
 +
}}

Revision as of 04:18, 23 November 2012



LeftSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> ]
Calculates the left sum of the function in the interval [a, b] using n rectangles.
Example:
LeftSum[x^2 + 1, 0, 2, 4] yields a = 3.75
Notes:
© 2024 International GeoGebra Institute