“內建函數與運算子”的版本间的差异
来自GeoGebra Manual
第1行: | 第1行: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude> | <noinclude>{{Manual Page|version=5.0}}</noinclude> | ||
− | 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]]. | + | 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]]. 要利用[[指令列]]建立數值、座標或方程式,您可使用下列內建的函數與運算子。與邏輯相關的運算子與函數列表請參閱「[https://wiki.geogebra.org/en/Boolean_values 真假值]」。 |
− | {{Note| | + | {{Note| 使用內建函數必須使用圓括號而不是方括號,且函數名稱和圓括號之間不可空白。}} |
{| class="pretty" width="95%" | {| class="pretty" width="95%" | ||
|- | |- | ||
− | ! | + | ! 運算/函數 |
− | ! | + | ! 指令 |
|- | |- | ||
− | |ℯ | + | |ℯ ([http://zh.wikipedia.org/wiki/E_( 数学常数) 尤拉數] ) |
| {{KeyCode|Alt+e}} | | {{KeyCode|Alt+e}} | ||
|- | |- | ||
− | |ί | + | |ί ([http://zh.wikipedia.org/wiki/虛數單位 虛數單位] ) |
| {{KeyCode|Alt+i}} | | {{KeyCode|Alt+i}} | ||
|- | |- | ||
|π | |π | ||
− | | {{KeyCode|Alt+p}} | + | | {{KeyCode|Alt+p}} 或 pi |
|- | |- | ||
− | |° ([ | + | |° ([https://zh.wikipedia.org/wiki/%E5%BA%A6%E6%95%B8%E7%AC%A6%E8%99%9F 度數符號]]) |
− | | {{KeyCode|Alt+o}} | + | | {{KeyCode|Alt+o}} 或 deg |
|- | |- | ||
− | | | + | | 加法 |
| + | | + | ||
|- | |- | ||
− | | | + | | 減法 |
| - | | - | ||
|- | |- | ||
− | | | + | | 乘法 |
− | |* or | + | |* or 空白鍵 |
|- | |- | ||
− | | | + | | 內積(純量積) |
− | |* or | + | |* or 空白鍵 |
|- | |- | ||
− | | | + | | 外積(向量積,請參閱[https://wiki.geogebra.org/en/Points_and_Vectors#Vector_Product 點和向量] ) |
|⊗ | |⊗ | ||
|- | |- | ||
− | | | + | | 除法 |
|/ | |/ | ||
|- | |- | ||
− | | | + | | 次方 |
− | |^ | + | |^ 或 上標 (<code>x^2</code> 或 <code>x<sup>2</sup></code>) |
|- | |- | ||
− | | | + | | 階乘 |
|! | |! | ||
|- | |- | ||
− | | | + | | 小括號 |
|( ) | |( ) | ||
|- | |- |
2021年5月11日 (二) 05:27的版本
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
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.要利用指令列建立數值、座標或方程式,您可使用下列內建的函數與運算子。與邏輯相關的運算子與函數列表請參閱「真假值」。
備註: 使用內建函數必須使用圓括號而不是方括號,且函數名稱和圓括號之間不可空白。
運算/函數 | 指令 |
---|---|
ℯ (尤拉數) | Alt + e |
ί (虛數單位) | Alt + i |
π | Alt + p 或 pi |
° (度數符號]) | Alt + o 或 deg |
加法 | + |
減法 | - |
乘法 | * or 空白鍵 |
內積(純量積) | * or 空白鍵 |
外積(向量積,請參閱點和向量) | ⊗ |
除法 | / |
次方 | ^ 或 上標 (x^2 或 x2 )
|
階乘 | ! |
小括號 | ( ) |
x-coordinate | x( ) |
y-coordinate | y( ) |
z-coordinate | z( ) |
Argument (also works for 3D points / vectors) | arg( ) |
Conjugate | conjugate( ) |
Real | real( ) |
Imaginary | imaginary( ) |
Absolute value | abs( ) |
Altitude angle (for 3D points / vectors) | alt( ) |
Sign | sgn( ) or sign() |
Greatest integer less than or equal | floor( ) |
Least integer greater than or equal | ceil( ) |
Round to nearest integer (or to y decimal places) | round(x) or round(x, y) |
Square root | sqrt( ) |
Cubic root | cbrt( ) |
The nth root of x | nroot(x, n) |
Random number between 0 and 1 | random( ) |
Exponential function | exp( ) or ℯx |
Logarithm (natural, to base e) | ln( ) |
Logarithm to base 2 | log₂() or ld( ) |
Logarithm to base 10 | log₁₀( ) or log( ) or lg( ) |
Logarithm of x to base b | log(b, x ) |
Cosine | cos( ) |
Sine | sin( ) |
Tangent | tan( ) |
Secant | sec() |
Cosecant | csc() or cosec() |
Cotangent | cot() or cotan() |
Arc cosine (answer in radians) | acos( ) or arccos( ) |
Arc cosine (answer in degrees) | acosd( ) |
Arc sine (answer in radians) | asin( ) or arcsin( ) |
Arc sine (answer in degrees) | asind( ) |
Arc tangent (answer in radians, between -π/2 and π/2) | atan( ) or arctan( ) |
Arc tangent (answer in degrees, between -90° and 90°) | atand( ) |
Arc tangent (answer in radians, between -π and π) | atan2(y, x) |
Arc tangent (answer in degrees, between -180° and 180°) | atan2d(y, x) |
Hyperbolic cosine | cosh( ) |
Hyperbolic sine | sinh( ) |
Hyperbolic tangent | tanh( ) |
Hyperbolic secant | sech( ) |
Hyperbolic cosecant | csch( ) |
Hyperbolic cotangent | coth( ) or cotanh() |
Antihyperbolic cosine | acosh( ) or arccosh( ) |
Antihyperbolic sine | asinh( ) or arcsinh( ) |
Antihyperbolic tangent | atanh( ) or arctanh( ) |
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 Γ(x) | gamma( x) |
(Lower) incomplete gamma function γ(a, x) | gamma(a, x) |
(Lower) incomplete regularized gamma function P(a,x) = γ(a, x) / Γ(a) | gammaRegularized(a, x) |
Gaussian Error Function | erf(x) |
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) |
The Riemann-Zeta function ζ(x) | zeta(x) |
Lambert's W function LambertW(x, branch) | LambertW(x, 0), LambertW(x, -1) |
備註: The x, y, z operators can be used to get corresponding coefficients of a line.