Difference between revisions of "LeftSum Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 2: Line 2:
 
{{command|function}}
 
{{command|function}}
 
;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 using ''n'' rectangles.
 
:{{example|1=<code><nowiki>LeftSum[x^2 + 1, 0, 2, 4]</nowiki></code> yields ''a'' = 3.75}}
 
:{{example|1=<code><nowiki>LeftSum[x^2 + 1, 0, 2, 4]</nowiki></code> yields ''a'' = 3.75}}
 
:{{Notes|1=<br>
 
:{{Notes|1=<br>
 
:*This command draws the rectangles of the left sum as well.
 
:*This command draws the rectangles of the left sum as well.
 
:*See also the commands: [[RectangleSum Command|RectangleSum]], [[TrapezoidalSum Command|TrapezoidalSum]], [[LowerSum Command|LowerSum]] and [[UpperSum Command|UpperSum]]}}
 
:*See also the commands: [[RectangleSum Command|RectangleSum]], [[TrapezoidalSum Command|TrapezoidalSum]], [[LowerSum Command|LowerSum]] and [[UpperSum Command|UpperSum]]}}

Revision as of 09:23, 26 March 2013



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