“運算區”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
第17行: 第17行:
 
* 進行乘法運算時,必須明確地標示乘號。您可以在'''[[:en:Input Bar|指令列]]'''輸入 <code>a(b+c)</code> 或 <code>a*(b+c)</code>,但在 [[File:Menu_view_cas.svg|link=|16px]]'''運算區'''只能輸入<code>a*(b+c)</code>。
 
* 進行乘法運算時,必須明確地標示乘號。您可以在'''[[:en:Input Bar|指令列]]'''輸入 <code>a(b+c)</code> 或 <code>a*(b+c)</code>,但在 [[File:Menu_view_cas.svg|link=|16px]]'''運算區'''只能輸入<code>a*(b+c)</code>。
  
==Keyboard Shortcuts for Direct Input==
+
== 直接輸入的快捷鍵==
In the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' the following keyboard shortcuts help you to evaluate or check your input.
+
您可在 [[File:Menu_view_cas.svg|link=|16px]]'''運算區''' 使用下列快捷鍵,來求解或檢查輸入。
{{note|Instead of using these keyboard shortcuts, you may also use the corresponding [[CAS Tools|''Tools'']] of the [[#CAS View Toolbar|''CAS View Toolbar'']].}}
+
{{note| 除了使用這些快捷鍵之外,您也可使用[[#運算區工具列|'''運算區工具列''']] 上的[[:en:CAS Tools|'''工具''']] }}
* {{KeyCode|Enter}}: Evaluates you input
+
* {{KeyCode|Enter}} :執行代數運算
* {{KeyCode|Ctrl+Enter}}: Evaluates your input numerically {{Example|1=<code>sqrt(2)</code> yields ''1.41''}}
+
* {{KeyCode|Ctrl+Enter}} :執行數值運算 {{Example|1=<code>sqrt(2)</code> 輸出 ''1.41''}}
* {{KeyCode|Alt+Enter}}: Checks your input but does not evaluate it. {{Example|1=<code>b + b</code> stays as ''b + b''.}}{{note|Assignments are always evaluated, e.g. <code>a := 5</code>}}
+
* {{KeyCode|Alt+Enter}} :檢查輸入但不執行任何運算 {{Example|1=<code>b + b</code> 仍輸出 ''b + b''.}}
 +
{{note| 設定變數時,一定會對右式執行運算,例如:輸入 <code>a := 5</code> ,輸出結果為 5。}}
 
<br>
 
<br>
In the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' the following keyboard shortcuts help you to reuse previous input or output in a new row if you enter them into an empty ''Input Field'':
+
[[File:Menu_view_cas.svg|link=|16px]]'''運算區''' 空白''' 指令欄'''使用下列快捷鍵,可快速擷取上個儲存格的輸入或輸出:
*  {{KeyCode|Space}} bar: Inserts the previous output into the new row.
+
*  {{KeyCode| 空白 }} 鍵:擷取上個儲存格的輸出。
*  <code>)</code>: Inserts the previous output in parentheses.
+
*  <code>)</code> :擷取上個儲存格的輸出並加上括號。
*  <code>=</code>: Inserts the previous input into the new row.
+
*  <code>=</code> :擷取上個儲存格的輸入。
  
{{note|You may suppress any output with a semicolon at the end of your input, e.g. <code>a := 5;</code>.}} 
+
{{note| 您可在輸入的結尾加上分號,則該儲存格不會顯示輸出,例如:<code>a := 5;</code> }} 
  
==Variable Assignments and Connection with other Views==
+
== 變數設定以及變數與其它視區之間的關聯==
You may use the <code>:=</code> notation for assignments, e.g. <code>b := 5</code>, <code>a(n) := 2n + 3</code>.
+
您可使用符號 <code>:=</code> 來設定變數,例如:<code>b := 5</code> <code>a(n) := 2n + 3</code>
* ''Free up a name'': Use <code>Delete[b]</code> in order to free up a variable name again.
+
* '''釋放變數名稱''' :如果要刪除某個變數,可使用 <code>Delete[b]</code> 指令。
* ''Redefine a variable or function'': You may redefine a variable or function, but you must do so '''in the same cell''', otherwise it will be treated as a new variable and automatically renamed.
+
* '''重新定義變數或函數''' :您可重新定義變數或函數,但必須在「''' 原來的儲存格''' 」操作,否則將被視為新變數,而且系統會自動賦予這個變數新的名稱。
  
Variables and functions are always shared between the ''CAS View'' and the other ''Views'' if possible. For example:
+
通常,你所定義的變數或函數,都可共用於''' 運算區''' 及其他'''視區'''。例如:
*If you define <code>b:=5</code> in the ''CAS View'', then you can use ''b'' in all the other ''Views'' of GeoGebra.
+
* 若您在'''運算區'''定義 <code>b:=5</code> ,則您可在其它''' 視區'''使用 ''b'' 這個變數。
*If you define a function <code>f(x)=x^2</code> in another ''View'', you can also use this function in the ''CAS View''.
+
*若您在其他''' 視區''' 定義函數 <code>f(x)=x^2</code> ,您也可以在''' 運算區''' 使用這個函數。
  
{{note|1=<div>The output will always be just the expression '''after''' the <code>:=</code>, e.g. if you type <code>b:=5</code> the output will be ''5''. Please also note, that for clarification actually ''b := 5'' will be displayed.</div>}}
+
{{note|1=<div> 設定變數時,系統只會輸出 <code>:=</code> 右式的運算結果,例如:當您鍵入 <code>b:=5</code> 只會輸出 ''5'' </div>}}
  
==Equations==
+
== 方程式==
* You may write equations using the simple ''Equals'' sign, e.g. <code>3x + 5 = 7</code>.
+
* 您可使用一般的''' 等號'''來輸入方程式,例如:<code>3x + 5 = 7</code>
* ''Arithmetic operations'': You can perform arithmetic operations on equations, which is useful for manual equation solving. {{Example|1=<code>(3x + 5 = 7) - 5</code> subtracts 5 from both sides of the equation.}}
+
* '''四則運算''' 您可對整個方程式做四則運算,這在逐步解方程式時很有用。 {{Example|1= 輸入 <code>(3x + 5 = 7) - 5</code> 會同時對等式的兩邊減去 5 }}
* ''Extracting one Side'': You may extract either the left or right side of an equation by using the commands <code>LeftSide[]</code> and <code>RightSide[]</code>. {{Example|1=<code>LeftSide[3x + 5 = 7]</code> returns ''3 x + 5'' and <code>RightSide[3x + 5 = 7]</code> returns ''7'' }}
+
* '''左式或右式''' :使用 <code>LeftSide[]</code> <code>RightSide[]</code> 指令可傳回方程式的左式或右式。 {{Example|1=<code>LeftSide[3x + 5 = 7]</code> 傳回 ''3 x + 5'' <code>RightSide[3x + 5 = 7]</code> 則傳回 ''7'' }}
  
==Row References==
+
== 參照其他列==
You can refer to other rows in the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' in two ways:
+
如果在 [[File:Menu_view_cas.svg|link=|16px]]''' 運算區'''要參照其他列,可使用下列兩種方式:
* '''Static row references''' copy the output and '''won't be updated''' if the ''referenced'' row is subsequently changed
+
* ''' 靜態參照''' :這種參照方式會複製被參照列的輸出結果,但假如被參照列的內容之後有被更動,參照列並''' 不會自動更新'''
** <code><nowiki>#</nowiki></code>: Copies the previous output.
+
** <code><nowiki>#</nowiki></code> :複製前一列的輸出結果。
** <code><nowiki>#5</nowiki></code>: Copies the output of row 5.
+
** <code><nowiki>#5</nowiki></code> :複製第 5 列的輸出結果。
* '''Dynamic row references''' insert a reference to another row instead of the actual output and therefore '''will be updated''' if the ''referenced'' row is subsequently changed
+
* ''' 動態參照''' :這種參照方式會插入被參照列的連結,若被參照列的內容之後有被更動,參照列''' 會自動更新'''
** <code><nowiki>$</nowiki></code>: Inserts a reference to the previous output.
+
** <code><nowiki>$</nowiki></code> :插入前一列輸出結果的連結。
** <code><nowiki>$</nowiki>5</code>: Inserts a reference to the output of row 5
+
** <code><nowiki>$</nowiki>5</code> :插入第 5 列輸出結果的連結。
  
=CAS Commands=
+
= 運算區指令=
GeoGebra also offers a wide range of ''[[CAS Commands]]'' that can be used to create objects in the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View''. Just start typing the name of a ''Command'' into the ''Input Field'' and GeoGebra will offer you a list of ''Commands'' that match your input.
+
[[File:Menu_view_cas.svg|link=|16px]]'''運算區'''有[[:en:CAS Commands|'''運算區專用的指令''']] ,讓您能在 [[File:Menu_view_cas.svg|link=|16px]]'''運算區'''建立物件。只要在'''指令欄''' 開始輸入''' 指令''' 名稱,GeoGebra 會跳出''' 指令''' 清單供您選擇。
  
{{note|For a complete list of ''Commands'' see section [[CAS Commands]].}}
+
{{note| 詳細清單請參閱'''[[:en:CAS Commands|運算區指令]]'''。}}
  
{{note|From GeoGebra 4.9.170.0 on, the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' supports exact versions of [[CAS View Supported Geometry Commands|some ''Geometry Commands'']]}}.
+
{{note| GeoGebra 4.9.170.0 版開始,[[File:Menu_view_cas.svg|link=|16px]]'''運算區''' 支援[[:en:CAS View Supported Geometry Commands| 某些'''幾何指令''']] 的代數運算。}}
  
 
=CAS View Toolbar=
 
=CAS View Toolbar=
 
The [[CAS Tools|''CAS View Toolbar'']] provides a range of ''[[CAS Tools]]'' that can be operated with the mouse and allow you to evaluate input and perform calculations. Just enter your input and use the mouse to click on the corresponding ''CAS Tool'' afterwards in order to apply it to your input.
 
The [[CAS Tools|''CAS View Toolbar'']] provides a range of ''[[CAS Tools]]'' that can be operated with the mouse and allow you to evaluate input and perform calculations. Just enter your input and use the mouse to click on the corresponding ''CAS Tool'' afterwards in order to apply it to your input.
 +
 +
[[File:Toolbar-CAS.png|left|link=CAS Tools|x32px]]
 +
<br>
 +
<br>
 +
 
{{hint|You may select part of the input text to only apply the operation to this selected part.}}
 
{{hint|You may select part of the input text to only apply the operation to this selected part.}}
 
{{note|For a complete list of ''Tools'' see ''[[CAS Tools]]''.}}
 
{{note|For a complete list of ''Tools'' see ''[[CAS Tools]]''.}}

2014年12月12日 (五) 12:34的版本

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


Menu view cas.svg 運算區介面

預設情況下,Menu view cas.svg運算區會放在 Menu view graphics.svg繪圖區旁邊。上方所顯示的工具列會因為你目前所在的視區不同而顯示不同的工具列,若你正在編輯運算區,則上方所顯示的工具列是「運算工具列」;若正在編輯繪圖區,則會切換為「繪圖工具列」。「復原」、「重複」按鈕放置在視窗的右上角。

CAS-View.png


運算區

雖然 Menu view cas.svg運算區運算格局的一部分,但您仍可根據自己的需求來調整 GeoGebra 介面的外觀。

建立物件

直接輸入

運算區讓您能利用 GeoGebra 的代數運算系統 (Computer Algebra System, CAS) 來進行符號運算。它由數個儲存格組成,而每個儲存格上方為指令欄,下方顯示輸出結果。這些指令欄的使用方式與一般的指令列幾乎相同,但有以下的差別:

  • 您可使用任何未用過的變數名。
    範例:指令欄輸入 (a+b)^2 後按下 Enter 鍵。您將得到 a²+2ab+b²
  • = 用於方程式而 := 用於設定變數。這表示當您輸入 a=2 並不會把 2 這個值指定給 a。更多細節請參閱變數設定
  • 進行乘法運算時,必須明確地標示乘號。您可以在指令列輸入 a(b+c)a*(b+c),但在 Menu view cas.svg運算區只能輸入a*(b+c)

直接輸入的快捷鍵

您可在 Menu view cas.svg運算區使用下列快捷鍵,來求解或檢查輸入。

備註: 除了使用這些快捷鍵之外,您也可使用運算區工具列上的工具
  • Enter:執行代數運算
  • Ctrl + Enter:執行數值運算
    範例: sqrt(2) 輸出 1.41
  • Alt + Enter:檢查輸入但不執行任何運算
    範例: b + b 仍輸出 b + b.
備註: 設定變數時,一定會對右式執行運算,例如:輸入 a := 5,輸出結果為 5。


Menu view cas.svg運算區空白指令欄使用下列快捷鍵,可快速擷取上個儲存格的輸入或輸出:

  • 空白 鍵:擷取上個儲存格的輸出。
  • ):擷取上個儲存格的輸出並加上括號。
  • =:擷取上個儲存格的輸入。
備註: 您可在輸入的結尾加上分號,則該儲存格不會顯示輸出,例如:a := 5;

變數設定以及變數與其它視區之間的關聯

您可使用符號 := 來設定變數,例如:b := 5a(n) := 2n + 3

  • 釋放變數名稱:如果要刪除某個變數,可使用 Delete[b] 指令。
  • 重新定義變數或函數:您可重新定義變數或函數,但必須在「原來的儲存格」操作,否則將被視為新變數,而且系統會自動賦予這個變數新的名稱。

通常,你所定義的變數或函數,都可共用於運算區及其他視區。例如:

  • 若您在運算區定義 b:=5,則您可在其它視區使用 b 這個變數。
  • 若您在其他視區定義函數 f(x)=x^2,您也可以在運算區使用這個函數。
備註:
設定變數時,系統只會輸出 := 右式的運算結果,例如:當您鍵入 b:=5 只會輸出 5

方程式

  • 您可使用一般的等號來輸入方程式,例如:3x + 5 = 7
  • 四則運算您可對整個方程式做四則運算,這在逐步解方程式時很有用。
    範例: 輸入 (3x + 5 = 7) - 5 會同時對等式的兩邊減去 5。
  • 左式或右式:使用 LeftSide[]RightSide[] 指令可傳回方程式的左式或右式。
    範例: LeftSide[3x + 5 = 7] 傳回 3 x + 5RightSide[3x + 5 = 7] 則傳回 7

參照其他列

如果在 Menu view cas.svg運算區要參照其他列,可使用下列兩種方式:

  • 靜態參照:這種參照方式會複製被參照列的輸出結果,但假如被參照列的內容之後有被更動,參照列並不會自動更新
    • #:複製前一列的輸出結果。
    • #5:複製第 5 列的輸出結果。
  • 動態參照:這種參照方式會插入被參照列的連結,若被參照列的內容之後有被更動,參照列會自動更新
    • $:插入前一列輸出結果的連結。
    • $5:插入第 5 列輸出結果的連結。

運算區指令

Menu view cas.svg運算區運算區專用的指令,讓您能在 Menu view cas.svg運算區建立物件。只要在指令欄開始輸入指令名稱,GeoGebra 會跳出指令清單供您選擇。

備註: 詳細清單請參閱運算區指令
備註: 從 GeoGebra 4.9.170.0 版開始,Menu view cas.svg運算區支援某些幾何指令的代數運算。

CAS View Toolbar

The CAS View Toolbar provides a range of CAS Tools that can be operated with the mouse and allow you to evaluate input and perform calculations. Just enter your input and use the mouse to click on the corresponding CAS Tool afterwards in order to apply it to your input.

Toolbar-CAS.png



Note 提示: You may select part of the input text to only apply the operation to this selected part.
備註: For a complete list of Tools see CAS Tools.

Context Menus

Row Header Context Menu

Right click (MacOS: Ctrl-click) on a row header in order to show a Context Menu with the following options:

  • Insert Above: Inserts an empty row above the current one.
  • Insert Below: Inserts an empty row below the current one.
  • Delete Row: Deletes the contents of the current row.
  • Text: Toggles between the current result and a text showing the current result contained in the row, which allows the user to insert comments.
  • Copy as LaTeX (GeoGebra Desktop): Copies the contents of the current row to your computer’s clipboard, allowing you to paste the contents e.g. in a Text object.
備註: To copy the contents of more than one CAS row as LaTeX, select the rows you want with Ctrl-click (MacOS: Cmd-click), then right-click (MacOS: Ctrl-click) on the row header and select Copy as LaTeX.

Cell Context Menu

In GeoGebra Desktop, right click (MacOS: Ctrl-click) on a CAS output cell in order to show a Context Menu with the following options:

  • Copy: Copies the cell contents to the your computer’s clipboard. Then, right click on a new cell in order to show the Paste option.
  • Copy as LaTeX: Copies the cell contents in LaTeX format to the your computer’s clipboard, so it can be pasted into a Text object or a LaTeX editor.
  • Copy as LibreOffice Formula: Copies the cell contents in LibreOffice formula format to your computer’s clipboard, so it can be pasted in a word processing document.
  • Copy as Image: Copies the cell contents in PNG format to your computer’s clipboard, so it can be pasted into an Image object or in a word processing document.

Display of Mathematical Objects

CAS View Style Bar

The CAS View Style Bar provides buttons to

  • Stylingbar text.svg change the text style (Stylingbar text bold.svg bold and Stylingbar text italic.svg italics) and Stylingbar color white.svg color
  • display a virtual keyboard (GeoGebra Desktop)
  • display additional Stylingbar dots.svg Views in the GeoGebra window (GeoGebra Web and Tablet Apps)

Showing CAS Objects in the Menu view graphics.svg Graphics View

In the Menu view cas.svg CAS View, the icon to the left of every row shows the current visibility state (shown or hidden) of the object defined in it (when possible). You may directly click on the little Mode showhideobject.svg Show / Hide Object icon in order to change the visibility status of the object in the Menu view graphics.svg Graphics View.

© 2024 International GeoGebra Institute