UpperSum Command

From GeoGebra Manual
Revision as of 12:50, 17 November 2017 by Zoltan (talk | contribs) (Typo fix)
Jump to: navigation, search


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.
  • See also the commands: LowerSum, LeftSum, RectangleSum, and TrapezoidalSum
  • The number of rectangles must be under a maximum of 10000, otherwise that maximum will be used.
© 2021 International GeoGebra Institute