Difference between revisions of "Integral Command"
From GeoGebra Manual
Line 11: | Line 11: | ||
:{{note| 1=This command also shadows the area between the function graph of ''f'' and the ''x''-axis.}} | :{{note| 1=This command also shadows the area between the function graph of ''f'' and the ''x''-axis.}} | ||
;Integral[ <Function>, <Number a>, <Number b>, <Boolean Evaluate> ] | ;Integral[ <Function>, <Number a>, <Number b>, <Boolean Evaluate> ] | ||
− | :Gives the definite integral of the function, with respect to the main variable, over the interval ''[a , b]'' and shadows the related area ''Evaluate | + | :Gives the definite integral of the function, with respect to the main variable, over the interval ''[a , b]'' 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== | ==CAS Syntax== | ||
;Integral[ <Function f> ] | ;Integral[ <Function f> ] |
Revision as of 11:04, 17 September 2012
- Integral[ <Function> ]
- Gives the indefinite integral with respect to the main variable.
- Example:
Integral[x^3]
yields \frac{x^4}{4}.
- Integral[ <Function>, <Variable> ]
- Gives the partial integral with respect to the given variable.
- Example:
Integral[x^3 + 3 x y, x]
yields \frac{x^4 + 6 x^2 y}{4}.
- Integral[ <Function>, <Number a>, <Number b> ]
- Gives the definite integral, with respect to the main variable, over the interval [a , b].
- Note: This command also shadows the area between the function graph of f and the x-axis.
- Integral[ <Function>, <Number a>, <Number b>, <Boolean Evaluate> ]
- Gives the definite integral of the function, with respect to the main variable, over the interval [a , b] 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
- Integral[ <Function f> ]
- Gives the indefinite integral with respect to the main variable.
- Example:
Integral[cos(x)]
yields sin(x) + c_1.
- Integral[ <Function f>, <Variable t> ]
- Gives the indefinite integral with respect to the given variable.
- Example:
Integral[cos(a t), t]
yields \frac{sin(a t)}{a} + c_1.
- Integral[ <Function>, <Number a>, <Number b> ]
- Gives the definite integral, with respect to the main variable, over the interval [a , b].
- Example:
Integral[cos(x), a, b]
yields sin(b) - sin(a).
- Integral[ <Function f>, <Variable t>, <Number a>, <Number b> ]
- Gives the definite integral, with respect to the given variable, over the interval [a , b].
- Example:
Integral[cos(t), t, a, b]
yields sin(b) - sin(a).