Difference between revisions of "LowerSum Command"
From GeoGebra Manual
m |
m (Added doc on limitation) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5}}</noinclude> | + | <noinclude>{{Manual Page|version=5}}</noinclude>{{command|function}} |
− | {{command|function}} | + | ;LowerSum( <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> ) |
− | ;LowerSum | ||
: Calculates the ''lower sum'' of the given function on the interval [''Start x-Value, End x-Value''], using ''n'' rectangles. | : Calculates the ''lower sum'' of the given function on the interval [''Start x-Value, End x-Value''], using ''n'' rectangles. | ||
− | :{{example|1=<code><nowiki>LowerSum | + | :{{example|1=<code><nowiki>LowerSum(x^2, -2, 4, 6)</nowiki></code> yields ''15''.}} |
:{{Note|1=<br> | :{{Note|1=<br> | ||
:*This command draws the rectangles for the lower sum as well.<br> | :*This command draws the rectangles for the lower sum as well.<br> | ||
+ | :*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: [[UpperSum Command|UpperSum]], [[LeftSum Command|LeftSum]], [[RectangleSum Command|RectangleSum]], and [[TrapezoidalSum Command|TrapezoidalSum]]. }} | :*See also the commands: [[UpperSum Command|UpperSum]], [[LeftSum Command|LeftSum]], [[RectangleSum Command|RectangleSum]], and [[TrapezoidalSum Command|TrapezoidalSum]]. }} |
Latest revision as of 14:25, 17 November 2017
- LowerSum( <Function>, <Start x-Value>, <End x-Value>, <Number of Rectangles> )
- Calculates the lower sum of the given function on the interval [Start x-Value, End x-Value], using n rectangles.
- Example:
LowerSum(x^2, -2, 4, 6)
yields 15.
- Note:
- This command draws the rectangles for the lower 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: UpperSum, LeftSum, RectangleSum, and TrapezoidalSum.
- This command draws the rectangles for the lower sum as well.