Difference between revisions of "UpperSum Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} | ||
− | ;UpperSum | + | ;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. | :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''.}} | :{{example|1=<code><nowiki>UpperSum[x^2, -2, 4, 6]</nowiki></code> yields ''35''.}} |
Revision as of 17:16, 7 October 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.
- See also the commands: LowerSum, LeftSum, RectangleSum, and TrapezoidalSum
- This command draws the rectangles of the upper sum as well.