“Predefined Functions and Operators”的版本间的差异
来自GeoGebra Manual
(以“<noinclude>{{Manual Page|version=4.2}}</noinclude> 要利用指令列建立數值、座標或方程式,您可使用下列內建的函數與運算子。與邏...”为内容创建页面) |
|||
第202行: | 第202行: | ||
| zeta(x) | | zeta(x) | ||
|} | |} | ||
− | :{{example|1=<div><code><nowiki>Conjugate(17 + 3 * ί)</nowiki></code> | + | :{{example|1=<div> 輸入<code><nowiki>Conjugate(17 + 3 * ί)</nowiki></code> 會得到 ''-3 ί + 17'' ,即複數 ''17 + 3 ί'' 。</div> 更進一步資訊請參閱「[[:en:Complex Numbers|複數]] 」。}} |
2015年3月6日 (五) 16:12的版本
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
要利用指令列建立數值、座標或方程式,您可使用下列內建的函數與運算子。與邏輯相關的運算子與函數列表請參閱「真假值」。
備註: 使用內建函數必須使用圓括號而不是方括號,且函數名稱和圓括號之間不可空白。
運算子/函數 | 指令 |
---|---|
ℯ (尤拉數) | Alt + e |
ί (虛數單位) | Alt + i |
π | Alt + p 或 pi |
° (度數符號) | Alt + o |
加法 | + |
減法 | - |
乘法 | * 或 空白鍵 |
內積(純量積) | * 或 空白鍵 |
外積(向量積,請參閱「點與向量」) | ⊗ |
除法 | / |
次方 | ^ 或 上標 (x^2 or x2 )
|
階乘 | ! |
小括號 | ( ) |
取點或向量的「x 座標」 | x( ) |
取點或向量的「y 座標」 | y( ) |
求複數的「幅角 (Argument)」 | arg( ) |
求「共軛複數 (Conjugate)」 | conjugate( ) |
取「絕對值 (Absolute value)」 | abs( ) |
求「正負號 (Sign)」(回傳 1、0、-1) | sgn( ) or sign() |
求「平方根 (Square root)」 | sqrt( ) |
求「立方根 (Cubic root)」 | cbrt( ) |
隨機 (Random) 函數(回傳 0 到 1 之間的亂數) | random( ) |
自然指數函數(以尤拉數為底) | exp( ) or ℯx |
自然對數函數(以尤拉數為底) | ln( ) or log( ) |
對數函數(以 2 為底) | ld( ) |
對數函數(以 10 為底) | lg( ) |
對數函數(以 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( ) |
取左邊的整數(等同「高斯符號」) | floor( ) |
取右邊的整數 | ceil( ) |
(四捨五入)取最近的整數 | 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 Γ(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) |
取複數的「實部」 | real( ) |
取複數的「虛部」 | 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) |
The Reimann-Zeta function ζ(x) | zeta(x) |
- 範例:輸入更進一步資訊請參閱「複數」。
Conjugate(17 + 3 * ί)
會得到 -3 ί + 17,即複數 17 + 3 ί。