Difference between revisions of "Predefined Functions and Operators"
From GeoGebra Manual
Noel Lambert (talk | contribs) (add some fcts complex,sec .. ,erf) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
− | To create numbers, coordinates, or equations using the [[Input Bar]] you may also use the following pre-defined functions and operations. | + | To create numbers, coordinates, or equations using the [[Input Bar]] you may also use the following pre-defined functions and operations. Logic operators and functions are listed in article about [[Boolean values]]. |
− | {{Note|The | + | {{Note|The predefined functions need to be entered using parentheses. You must not put a space between the function name and the parentheses.}} |
Line 160: | Line 160: | ||
|erf(x) | |erf(x) | ||
|} | |} | ||
+ | |||
+ | |||
+ | :{{example|1=<div><code><nowiki>Conjugate(17 + 3 * ί)</nowiki></code> gives ''-3 ί + 17'', the conjugated complex number of ''17 + 3 ί''.</div> See [[Complex numbers]] for details.}} |
Revision as of 02:33, 6 August 2011
To create numbers, coordinates, or equations using the Input Bar you may also use the following pre-defined functions and operations. Logic operators and functions are listed in article about Boolean values.
Note: The predefined functions need to be entered using parentheses. You must not put a space between the function name and the parentheses.
Operation / Function | Input |
---|---|
Addition | + |
Subtraction | - |
Multiplication | * or Space key |
Scalar product | * or Space key |
Vector product | ⊗ |
Division | / |
Exponentiation | ^ or superscript (x^2 or x2 )
|
Factorial | ! |
Parentheses | ( ) |
x-coordinate | x( ) |
y-coordinate | y( ) |
Argument | arg() |
Conjugate | conjugate() |
Absolute value | abs( ) |
Sign | sgn( ) |
Square root | sqrt( ) |
Cubic root | cbrt( ) |
Random number between 0 and 1 | random( ) |
Exponential function | exp( ) or ℯx |
Logarithm (natural, to base e) | ln( ) or log( ) |
Logarithm to base 2 | ld( ) |
Logarithm to base 10 | lg( ) |
Cosine | cos( ) |
Sine | sin( ) |
Tangent | tan( ) |
Secant | sec() |
Cosecant | cosec() |
Cotangent | cot() |
Arc cosine | acos( ) |
Arc sine | asin( ) |
Arc tangent | atan( ) |
Hyperbolic cosine | cosh( ) |
Hyperbolic sine | sinh( ) |
Hyperbolic tangent | tanh( ) |
Hyperbolic secant | sech() |
Hyperbolic cosecant | cosech() |
Hyperbolic cotangent | coth() |
Antihyperbolic cosine | acosh( ) |
Antihyperbolic sine | asinh( ) |
Antihyperbolic tangent | atanh( ) |
Greatest integer less than or equal | floor( ) |
Least integer greater than or equal | ceil( ) |
Round | round( ) |
Beta function Β(a, b) | beta(a, b) |
Incomplete beta function Β(x;a, b) | beta(a, b, x) |
Incomplete regularized beta function I(x; a, b) | betaRegularized(a, b, x) |
Gamma function | gamma( x) |
(Lower) incomplete gamma function γ(a, x) | gamma(a, x) |
(Lower) incomplete regularized gamma function | gammaRegularized(a, x) |
Gaussian Error Function | erf(x) |
- Example:See Complex numbers for details.
Conjugate(17 + 3 * ί)
gives -3 ί + 17, the conjugated complex number of 17 + 3 ί.