“函數”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
第14行: 第14行:
 
{{example|1=先定義函數 ''f'' 為 <code>f(x) = 3 x^3 – x^2</code>,接著您可以輸入 <code>g(x) = cos(f' (x + 2))</code> 來定義函數 ''g''。}}
 
{{example|1=先定義函數 ''f'' 為 <code>f(x) = 3 x^3 – x^2</code>,接著您可以輸入 <code>g(x) = cos(f' (x + 2))</code> 來定義函數 ''g''。}}
 
  
 
  
Furthermore, functions can be translated by a vector (see [[Translate Command]]) and a free function can be moved by using the [[File:Mode move.svg|link=|22px]][[Move Tool]]. Other [[Transformation Commands]] can be also applied to functions, but in most cases the result is not a function but a curve.
+
此外,函數可以用向量來平移(請參閱 [[Translate_指令]] ),並且可以利用 [[File:Mode move.svg|link=|22px]] '''[[ 移動_工具|移動]] 工具'''來移動某個自變函數圖形。其他[[ 幾何變換指令]] 也能套用至函數上,但大多數套用完的結果會是一條曲線而不是一個函數。
  
==Limit Function to Interval==
+
== 限制函數在某個區間==
  
In order to limit a function to an interval [a, b], you need to use the [[Function Command]] or the [[If Command]].
+
若要限制函數在某個區間 [a, b] ,您必須使用 [[Function_指令]] 或是 [[If_指令]]
{{example|1=<code>If[3<=x<=5,x^2]</code> and <code>Function[x^2,3,5]</code> both define a function ''x<sup>2</sup>'' restricted to interval [3,5]}}
+
{{example|1= 輸入 <code>If[3<=x<=5,x^2]</code> 或是 <code>Function[x^2,3,5]</code> 都可以定義一個限制在區間 [3,5] 的函數 ''x<sup>2</sup>'' }}

2021年6月3日 (四) 10:23的版本

Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


您可將之前曾經定義過的變數(例如:數值、點、向量)或其他函數,引入到新的函數式之中,並輸入到指令列建立新函數。

範例:
  • 函數 f:f(x) = 3 x^3 – x^2
  • 函數 g:g(x) = tan(f(x))
  • 未命名函數:sin(3 x) + tan(x)
備註: 請參閱「內建函數與運算子」了解所有可用的內建函數。

在 GeoGebra 中,您也可以套用指令在函數上,例如:使用 Integral_指令作積分計算,或是使用 Derivative_指令作微分計算。使用If_指令則可以製作條件函數

備註: 您也可以使用指令 f'(x) 或 f''(x) … 算出已定義函數 f(x) 的導函數。 in order to get the derivatives of a previously defined function f(x).
範例: 先定義函數 ff(x) = 3 x^3 – x^2,接著您可以輸入 g(x) = cos(f' (x + 2)) 來定義函數 g

此外,函數可以用向量來平移(請參閱 Translate_指令),並且可以利用 Mode move.svg 移動工具來移動某個自變函數圖形。其他幾何變換指令也能套用至函數上,但大多數套用完的結果會是一條曲線而不是一個函數。

限制函數在某個區間

若要限制函數在某個區間 [a, b],您必須使用 Function_指令或是 If_指令

範例: 輸入 If[3<=x<=5,x^2] 或是 Function[x^2,3,5] 都可以定義一個限制在區間 [3,5] 的函數 x2
© 2024 International GeoGebra Institute