“Predefined Functions and Operators”的版本间的差异
来自GeoGebra Manual
小 |
|||
第178行: | 第178行: | ||
|erf(x) | |erf(x) | ||
|- | |- | ||
− | |取複數的「[[ | + | |取複數的「[[real_ 函式|實部]]」 |
|real( ) | |real( ) | ||
|- | |- | ||
− | |取複數的「[[ | + | |取複數的「[[imaginary_ 函式|虛部]]」 |
|imaginary( ) | |imaginary( ) | ||
|- | |- |
2015年3月20日 (五) 14:04的版本
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
要利用指令列建立數值、座標或方程式,您可使用下列內建的函數與運算子。與邏輯相關的運算子與函數列表請參閱「真假值」。
備註: 使用內建函數必須使用圓括號而不是方括號,且函數名稱和圓括號之間不可空白。
運算子/函數 | 指令 |
---|---|
ℯ (尤拉數) | Alt + e |
ί (虛數單位) | Alt + i |
π | Alt + p 或 pi |
° (度數符號) | Alt + o |
加法 | + |
減法 | - |
乘法 | * 或 空白鍵 |
內積(純量積) | * 或 空白鍵 |
外積(向量積,請參閱「點與向量」) | ⊗ |
除法 | / |
次方 | ^ 或 上標 (x^2 或 x2 )
|
階乘 | ! |
小括號 | ( ) |
取點或向量的「x 座標」 | x( ) |
取點或向量的「y 座標」 | y( ) |
求複數的「幅角 (Argument)」 | arg( ) |
求「共軛複數 (Conjugate)」 | conjugate( ) |
取「絕對值 (Absolute value)」 | abs( ) |
求「正負號 (Sign)」(回傳 1、0、-1) | sgn( ) 或 sign() |
求「平方根 (Square root)」 | sqrt( ) |
求「立方根 (Cubic root)」 | cbrt( ) |
隨機 (Random) 函數(回傳 0 到 1 之間的亂數) | random( ) |
自然指數函數(以尤拉數為底) | exp( ) 或 ℯx |
自然對數函數(以尤拉數為底) | ln( ) 或 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( ) 或 arcsin( ) |
反正切 (Arc tangent) 函數(回傳值介於 -π/2 和 π/2 之間) | atan( ) 或 arctan( ) |
反正切 (Arc tangent) 函數(回傳值介於 -π 和 π 之間) | 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 ί。