Difference between revisions of "Integral Command"
From GeoGebra Manual
Kimeswenger (talk | contribs) |
Kimeswenger (talk | contribs) |
||
Line 13: | Line 13: | ||
:Gives the definite integral of the function over the interval ''[Start x-Value , End x-Value]'' 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. | :Gives the definite integral of the function over the interval ''[Start x-Value , End x-Value]'' 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== | ==CAS Syntax== | ||
− | ;Integral[ <Function | + | ;Integral[ <Function> ] |
:Gives the indefinite integral with respect to the main variable. | :Gives the indefinite integral with respect to the main variable. | ||
:{{example|1=<div><code><nowiki>Integral[cos(x)]</nowiki></code> yields <math>sin(x) + c_1</math>.</div>}} | :{{example|1=<div><code><nowiki>Integral[cos(x)]</nowiki></code> yields <math>sin(x) + c_1</math>.</div>}} | ||
− | ;Integral[ <Function | + | ;Integral[ <Function>, <Variable> ] |
: Gives the indefinite integral with respect to the given variable. | : Gives the indefinite integral with respect to the given variable. | ||
:{{example|1=<div><code><nowiki>Integral[cos(a t), t]</nowiki></code> yields <math>\frac{sin(a t)}{a} + c_1</math>.</div>}} | :{{example|1=<div><code><nowiki>Integral[cos(a t), t]</nowiki></code> yields <math>\frac{sin(a t)}{a} + c_1</math>.</div>}} | ||
− | ;Integral[ <Function>, < | + | ;Integral[ <Function>, <Start x-Value>, <End x-Value> ] |
− | :Gives the definite integral over the interval ''[ | + | :Gives the definite integral over the interval ''[Start x-Value , End x-Value]'' with respect to the main variable. |
:{{example|1=<div><code><nowiki>Integral[cos(x), a, b]</nowiki></code> yields <math>sin(b) - sin(a)</math>.</div>}} | :{{example|1=<div><code><nowiki>Integral[cos(x), a, b]</nowiki></code> yields <math>sin(b) - sin(a)</math>.</div>}} | ||
− | ;Integral[ <Function | + | ;Integral[ <Function>, <Variable>, <Start x-Value>, <End x-Value> ] |
− | :Gives the definite integral over the interval ''[ | + | :Gives the definite integral over the interval ''[Start x-Value , End x-Value]'' with respect to the given variable. |
:{{example|1=<div><code><nowiki>Integral[cos(t), t, a, b]</nowiki></code> yields <math>sin(b) - sin(a)</math>.</div>}} | :{{example|1=<div><code><nowiki>Integral[cos(t), t, a, b]</nowiki></code> yields <math>sin(b) - sin(a)</math>.</div>}} |
Revision as of 15:57, 22 March 2013
- Integral[ <Function> ]
- Gives the indefinite integral with respect to the main variable.
- Example:
Integral[x^3]
yields x^4 \cdot 0.25.
- Integral[ <Function>, <Variable> ]
- Gives the partial integral with respect to the given variable.
- Example:
Integral[x³+3x y, x]
gives \frac{1}{4}x^4 + \frac{3}{2} x² y .
- Integral[ <Function>, <Start x-Value>, <End x-Value> ]
- Gives the definite integral over the interval [Start x-Value , End x-Value] with respect to the main variable.
- Note: This command also shadows the area between the function graph of f and the x-axis.
- Integral[ <Function>, <Start x-Value>, <End x-Value>, <Boolean Evaluate> ]
- Gives the definite integral of the function over the interval [Start x-Value , End x-Value] 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
- Integral[ <Function> ]
- Gives the indefinite integral with respect to the main variable.
- Example:
Integral[cos(x)]
yields sin(x) + c_1.
- Integral[ <Function>, <Variable> ]
- 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>, <Start x-Value>, <End x-Value> ]
- Gives the definite integral over the interval [Start x-Value , End x-Value] with respect to the main variable.
- Example:
Integral[cos(x), a, b]
yields sin(b) - sin(a).
- Integral[ <Function>, <Variable>, <Start x-Value>, <End x-Value> ]
- Gives the definite integral over the interval [Start x-Value , End x-Value] with respect to the given variable.
- Example:
Integral[cos(t), t, a, b]
yields sin(b) - sin(a).