Difference between revisions of "LeftSum Command"

From GeoGebra Manual
Jump to: navigation, search
m (Note on limitation)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{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 using ''n'' rectangles.
:Calculates the left sum of the function in the interval [a, b] using n rectangles.
+
:{{example|1=<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.
 +
:*This command is designed as a visual aid so won't give accurate answers if the number of rectangles is too large.
 +
:*See also the commands: [[RectangleSum Command|RectangleSum]], [[TrapezoidalSum Command|TrapezoidalSum]], [[LowerSum Command|LowerSum]] and [[UpperSum Command|UpperSum]].}}

Latest revision as of 15:27, 17 November 2017


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:
  • This command draws the rectangles of the left sum as well.
  • This command is designed as a visual aid so won't give accurate answers if the number of rectangles is too large.
  • See also the commands: RectangleSum, TrapezoidalSum, LowerSum and UpperSum.
© 2021 International GeoGebra Institute