Difference between revisions of "TrapezoidalSum Command"
From GeoGebra Manual
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 ) |
|||
Line 3: | Line 3: | ||
{{Alternate Language|region=US|page_type=Command |US_version=TrapezoidalSum|UK_version=TrapeziumSum|Aus_version=TrapeziumSum}} | {{Alternate Language|region=US|page_type=Command |US_version=TrapezoidalSum|UK_version=TrapeziumSum|Aus_version=TrapeziumSum}} | ||
− | ;TrapezoidalSum[ <Function>, < | + | ;TrapezoidalSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Trapezoids> ] |
− | :{{Notes|1=<br> | + | :Calculates the trapezoidal sum of the function in the interval [''Start x-Value, End x-Value''] using ''n'' trapezoids. |
− | + | :{{example|1=<div><code><nowiki>TrapezoidalSum[x^2, -2, 3, 5]</nowiki></code> yields ''12.5''.</div>}} | |
− | + | {{Notes|1=<br> | |
+ | *This command draws the trapezoids of the trapezoidal sum as well. | ||
+ | *See also the commands: [[LowerSum Command|LowerSum]], [[LeftSum Command|LeftSum]], [[RectangleSum Command|RectangleSum]] and [[UpperSum Command|UpperSum]].}} |
Revision as of 15:28, 8 August 2013
This command differs among variants of English:
|
- TrapezoidalSum[ <Function>, <Start x-Value>, <End x-Value>, <Number of Trapezoids> ]
- Calculates the trapezoidal sum of the function in the interval [Start x-Value, End x-Value] using n trapezoids.
- Example:
TrapezoidalSum[x^2, -2, 3, 5]
yields 12.5.
Notes:
- This command draws the trapezoids of the trapezoidal sum as well.
- See also the commands: LowerSum, LeftSum, RectangleSum and UpperSum.