Difference between revisions of "Functions"
From GeoGebra Manual
(copy of current help) |
m (syntax fixed) |
||
Line 12: | Line 12: | ||
In GeoGebra you can also use commands to get for example, the Integral and Derivative of a function. | In GeoGebra you can also use commands to get for example, the Integral and Derivative of a function. | ||
− | {{ | + | {{note|You can also use the commands <nowiki>f'(x) or f''(x)</nowiki>, … in order to get the derivatives of a previously defined function f(x).}} |
{{example|Define function f as <code><nowiki>f(x) = 3 x^3 – x^2</nowiki></code>. Then, you can type in | {{example|Define function f as <code><nowiki>f(x) = 3 x^3 – x^2</nowiki></code>. Then, you can type in |
Revision as of 12:58, 8 December 2010
To enter a function you can use previously defined variables (e. g. numbers, points, vectors) as well as other functions.
Example:
- Function f:
f(x) = 3 x^3 – x^2
- Function g:
g(x) = tan(f(x))
- Nameless function:
sin(3 x) + tan(x)
Note: All available pre-defined functions (e. g. sin, cos, tan) are described in section Pre-defined Functions and Operations.
In GeoGebra you can also use commands to get for example, the Integral and Derivative of a function.
Note: You can also use the commands f'(x) or f''(x), … in order to get the derivatives of a previously defined function f(x).
Example: Define function f as
f(x) = 3 x^3 – x^2
. Then, you can type in
g(x) = cos(f' (x + 2))
in order to get function g.
Furthermore, functions can be translated by a vector (see Translate Command) and a free function can be moved with the mouse by using the Move Tool.
Limit Function to Interval
In order to limit a function to an interval [a, b], you can use the Function Command.