Difference between revisions of "Predefined Functions and Operators"
From GeoGebra Manual
Line 11: | Line 11: | ||
|- | |- | ||
|ℯ ([[w:Euler constant|Euler's constant]]) | |ℯ ([[w:Euler constant|Euler's constant]]) | ||
− | | | + | | {{KeyCode|Alt+e}} |
+ | |- | ||
+ | |ί ([[w:Imaginary unit|Imaginary unit]]) | ||
+ | | {{KeyCode|Alt+i}} | ||
|- | |- | ||
|π | |π | ||
− | | | + | | {{KeyCode|Alt+p}} or pi |
|- | |- | ||
|° ([[w:Degree symbol|Degree symbol]]) | |° ([[w:Degree symbol|Degree symbol]]) | ||
− | | | + | | {{KeyCode|Alt+o}} |
|- | |- | ||
|Addition | |Addition | ||
Line 174: | Line 177: | ||
|[[w:Error_function|Gaussian Error Function]] | |[[w:Error_function|Gaussian Error Function]] | ||
|erf(x) | |erf(x) | ||
− | | | + | |- |
− | + | |[[Real_Function|Real]] | |
− | + | |real( ) | |
− | + | |- | |
− | + | |[[Imaginary_Function|Imaginary]] | |
− | + | |imaginary( ) | |
− | + | |- | |
− | + | | [[w:Digamma_function|Digamma function]] | |
− | + | | psi(x) | |
− | + | |- | |
− | + | | The [http://en.wikipedia.org/wiki/Polygamma_function Polygamma function] is the (m+1)th derivative of the natural logarithm of the [http://en.wikipedia.org/wiki/Gamma_function Gamma function, gamma(x)] (m=0,1) | |
− | + | | polygamma(m, x) | |
− | + | |- | |
− | + | | The [http://mathworld.wolfram.com/SineIntegral.html Sine Integral] function | |
− | + | | sinIntegral(x) | |
− | + | |- | |
− | + | | The [http://mathworld.wolfram.com/CosineIntegral.html Cosine Integral] function | |
− | + | | cosIntegral(x) | |
− | + | |- | |
− | + | | The [http://mathworld.wolfram.com/ExponentialIntegral.html Exponential Integral] function | |
− | + | | expIntegral(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.}} | :{{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 14:12, 4 December 2012
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 |
---|---|
ℯ (Euler's constant) | Alt + e |
ί (Imaginary unit) | Alt + i |
π | Alt + p or pi |
° (Degree symbol) | Alt + o |
Addition | + |
Subtraction | - |
Multiplication | * or Space key |
Scalar product | * or Space key |
Vector product or determinant (see Points and Vectors) | ⊗ |
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( ) or sign() |
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( ) |
Logarithm of x to base b | log(b, x ) |
Cosine | cos( ) |
Sine | sin( ) |
Tangent | tan( ) |
Secant | sec() |
Cosecant | cosec() |
Cotangent | cot() |
Arc cosine | acos( ) or arccos( ) |
Arc sine | asin( ) or arcsin( ) |
Arc tangent (returns answer between -π/2 and π/2) | atan( ) or arctan( ) |
Arc tangent (returns answer between -π and π) | atan2(y, x) |
Hyperbolic cosine | cosh( ) |
Hyperbolic sine | sinh( ) |
Hyperbolic tangent | tanh( ) |
Hyperbolic secant | sech( ) |
Hyperbolic cosecant | cosech( ) |
Hyperbolic cotangent | coth( ) |
Antihyperbolic cosine | acosh( ) or arccosh( ) |
Antihyperbolic sine | asinh( ) or arcsinh( ) |
Antihyperbolic tangent | atanh( ) or arctanh( ) |
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) |
Real | real( ) |
Imaginary | imaginary( ) |
Digamma function | psi(x) |
The Polygamma function is the (m+1)th derivative of the natural logarithm of the Gamma function, gamma(x) (m=0,1) | polygamma(m, x) |
The Sine Integral function | sinIntegral(x) |
The Cosine Integral function | cosIntegral(x) |
The Exponential Integral function | expIntegral(x) |
- Example:See Complex Numbers for details.
Conjugate(17 + 3 * ί)
gives -3 ί + 17, the conjugated complex number of 17 + 3 ί.