Difference between revisions of "UpperSum Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
(Note on maximal number of rectangles (unchecked))
Line 6: Line 6:
 
:*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]] }}
 
:*See also the commands: [[LowerSum Command|LowerSum]], [[LeftSum Command|LeftSum]], [[RectangleSum Command|RectangleSum]], and [[TrapezoidalSum Command|TrapezoidalSum]] }}
 +
:*The number of rectangles must be under a maximum of 10000, otherwise that maximum will be used.

Revision as of 12:49, 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:
  • The number of rectangles must be under a maximum of 10000, otherwise that maximum will be used.
  • © 2024 International GeoGebra Institute