Difference between revisions of "IntegralBetween Command"

From GeoGebra Manual
Jump to: navigation, search
m
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 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|function}}
 
{{command|cas=true|function}}
 
;IntegralBetween[ <Function f>, <Function g>, <Number a>, <Number b> ]
 
;IntegralBetween[ <Function f>, <Function g>, <Number a>, <Number b> ]

Revision as of 22:14, 9 March 2013



IntegralBetween[ <Function f>, <Function g>, <Number a>, <Number b> ]
Gives the definite integral of the difference f(x) ‐ g(x) over the interval [a, b] with respect to the main variable.
Note: This command also shades the area between the function graphs of f and g.
IntegralBetween[ <Function f>, <Function g>, <Number a>, <Number b>, <Boolean Evaluate> ]
Gives the definite integral of the difference f(x) ‐ g(x) over the interval [a, b] with respect to the main variable and shadows the related area if Evaluate is true. In case Evaluate is false the related area is shaded but the integral value is not calculated.

CAS Syntax

IntegralBetween[ <Function f>, <Function g>, <Number a>, <Number b> ]
Gives the definite integral of the difference f(x) ‐ g(x) over the interval [a, b] with respect to the main variable.
Example:
IntegralBetween[sin(x), cos(x), π / 4, π * 5 / 4] yields 2 \sqrt{2}.
IntegralBetween[ <Function f>, <Function g>, <Variable t>, <Number a>, <Number b> ]
Gives the definite integral of the difference f(x) ‐ g(x) over the interval [a, b] with respect to the given variable.
Example:
IntegralBetween[a * sin(t), a * cos(t), t, π / 4, π * 5 / 4] yields 2 \sqrt{2} a.
© 2021 International GeoGebra Institute