Difference between revisions of "UpperSum 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 )
m
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}}
{{command|function}}
+
;UpperSum( <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> )
;UpperSum[ <Function>, <Number a>, <Number b>, <Number n> ]:Calculates the  ''upper sum'' of the function on the interval [''a, b''] using ''n'' rectangles.
+
:Calculates the  ''upper sum'' of the function on the interval [''Start x-Value, End x-Value''] using ''n'' rectangles.
 +
:{{example|1=<code><nowiki>UpperSum(x^2, -2, 4, 6)</nowiki></code> yields ''35''.}}
 
:{{Notes|1=<br>
 
:{{Notes|1=<br>
 
:*This command draws the rectangles of the upper sum as well.<br>
 
:*This command draws the rectangles of the upper sum as well.<br>
:*See also the commands: [[LowerSum Command|LowerSum]], [[LeftSum Command|LeftSum]], [[RectangleSum Command|RectangleSum]], and [[TrapezoidalSum Command|TrapezoidalSum]] }}
+
:*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: [[LowerSum Command|LowerSum]], [[LeftSum Command|LeftSum]], [[RectangleSum Command|RectangleSum]], and [[TrapezoidalSum Command|TrapezoidalSum]]. }}

Latest revision as of 15:05, 17 November 2017


UpperSum( <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> )
Calculates the upper sum of the function on the interval [Start x-Value, End x-Value] using n rectangles.
Example: UpperSum(x^2, -2, 4, 6) yields 35.
Notes:
  • This command draws the rectangles of the upper 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: LowerSum, LeftSum, RectangleSum, and TrapezoidalSum.
© 2021 International GeoGebra Institute