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

来自GeoGebra Manual
跳转至: 导航搜索
(以“<noinclude>{{Manual Page|version=5.0}}</noinclude> {{gui|視區}} =link=|24px CAS View User Interface= By default, the File:Menu_view_c...”为内容创建页面)
 
第2行: 第2行:
 
{{gui|視區}}
 
{{gui|視區}}
  
=[[File:Menu_view_cas.svg|link=|24px]] CAS View User Interface=
+
=[[File:Menu_view_cas.svg|link=|24px]] 運算區介面=
By default, the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' is opened next to the [[File:Menu_view_graphics.svg|link=Graphics View|16px]] ''[[Graphics View]]''. Depending on which one of these two ''Views'' is active, either the [[CAS Tools|''CAS View Toolbar'']] or the [[Graphics Tools|''Graphics View Toolbar'']] is displayed at the top of the GeoGebra window, with the ''Undo / Redo'' buttons in the top right corner.
+
預設情況下,[[File:Menu_view_cas.svg|link=|16px]]'''運算區''' 會放在 [[File:Menu_view_graphics.svg|link=Graphics View|16px]]'''[[:en:Graphics View|繪圖區]]''' 旁邊。上方所顯示的工具列會因為你目前所在的'''視區'''不同而顯示不同的'''工具列''',若你正在編輯'''運算區''' ,則上方所顯示的工具列是「[[:en:CAS Tools|'''運算工具列''']] 」;若正在編輯'''繪圖區''',則會切換為「[[:en:Graphics Tools|'''繪圖工具列''']] 」。「復原」、「重複」按鈕放置在視窗的右上角。
 
{| cellpadding ="10"
 
{| cellpadding ="10"
 
|[[File:CAS-View.png|left|link=|x220px]]
 
|[[File:CAS-View.png|left|link=|x220px]]
<br>CAS View
+
<br> 運算區
 
|}
 
|}
The [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' is part of the [[Perspectives#CAS Perspective|''CAS Perspective'']], although you may [[GeoGebra_5.0_Desktop_vs._Web_and_Tablet_App#Customizing_the_Layout_of_the_User_Interface|change the layout]] of GeoGebra's user interface according to your needs.
+
雖然 [[File:Menu_view_cas.svg|link=|16px]]'''運算區''' [[:en:Perspectives#CAS Perspective|'''運算格局''']] 的一部分,但您仍可根據自己的需求來[[:en:GeoGebra_5.0_Desktop_vs._Web_and_Tablet_App#Customizing_the_Layout_of_the_User_Interface| 調整]] GeoGebra 介面的外觀。
  
=Creating Mathematical Objects=
+
= 建立物件=
==Direct Input==
+
== 直接輸入==
The ''CAS View'' allows you to use GeoGebra's CAS (Computer Algebra System) for symbolic computations. It consists of cells with an ''Input Field'' at the top and output display at the bottom. You can use these ''Input Fields'' in the same way as the normal ''[[Input Bar]]'', with the following differences:
+
'''運算區''' 讓您能利用 GeoGebra 的代數運算系統 (Computer Algebra System, CAS) 來進行符號運算。它由數個儲存格組成,而每個儲存格上方為'''指令欄''' ,下方顯示輸出結果。這些''' 指令欄''' 的使用方式與一般的'''[[:en:Input Bar|指令列]]'''幾乎相同,但有以下的差別:
* You can use variables that were not assigned any value. {{Example|1=Enter <code>(a+b)^2</code> into an ''Input Field'' and hit the {{KeyCode|Enter}} key. You will get the output ''a²+2ab+b²''.}}
+
* 您可使用任何未用過的變數名。{{Example|1= 在'''指令欄'''輸入 <code>(a+b)^2</code> 後按下 {{KeyCode|Enter}} 鍵。您將得到 ''a²+2ab+b²'' }}
* <code>=</code> is used for equations and <code>:=</code> for assignments. This means that the input <code>a=2</code> will not assign value 2 to ''a''. See the [[#Variable Assignments and Connection with other Views|section about assignments]] for details.
+
* <code>=</code> 用於方程式而 <code>:=</code> 用於設定變數。這表示當您輸入 <code>a=2</code> 並不會把 2 這個值指定給 ''a'' 。更多細節請參閱[[#Variable Assignments and Connection with other Views| 變數設定]]
* Multiplication needs to be marked explicitly. While in the ''[[Input Bar]]'' you can use both <code>a(b+c)</code> and <code>a*(b+c)</code> for multiplication, in the [[File:Menu_view_cas.svg|link=|16px]] ''CAS View'' only <code>a*(b+c)</code> is valid.
+
* 進行乘法運算時,必須明確地標示乘號。您可以在'''[[: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==
 
==Keyboard Shortcuts for Direct Input==

2014年12月11日 (四) 14:18的版本

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)

Keyboard Shortcuts for Direct Input

In the Menu view cas.svg CAS View the following keyboard shortcuts help you to evaluate or check your input.

备注: Instead of using these keyboard shortcuts, you may also use the corresponding Tools of the CAS View Toolbar.
  • Enter: Evaluates you input
  • Ctrl + Enter: Evaluates your input numerically
    范例: sqrt(2) yields 1.41
  • Alt + Enter: Checks your input but does not evaluate it.
    范例: b + b stays as b + b.
    备注: Assignments are always evaluated, e.g. a := 5


In the Menu view cas.svg 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:

  • Space bar: Inserts the previous output into the new row.
  • ): Inserts the previous output in parentheses.
  • =: Inserts the previous input into the new row.
备注: You may suppress any output with a semicolon at the end of your input, e.g. a := 5;.

Variable Assignments and Connection with other Views

You may use the := notation for assignments, e.g. b := 5, a(n) := 2n + 3.

  • Free up a name: Use Delete[b] in order to free up a variable name again.
  • 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 b:=5 in the CAS View, then you can use b in all the other Views of GeoGebra.
  • If you define a function f(x)=x^2 in another View, you can also use this function in the CAS View.
备注:
The output will always be just the expression after the :=, e.g. if you type b:=5 the output will be 5. Please also note, that for clarification actually b := 5 will be displayed.

Equations

  • You may write equations using the simple Equals sign, e.g. 3x + 5 = 7.
  • Arithmetic operations: You can perform arithmetic operations on equations, which is useful for manual equation solving.
    范例: (3x + 5 = 7) - 5 subtracts 5 from both sides of the equation.
  • Extracting one Side: You may extract either the left or right side of an equation by using the commands LeftSide[] and RightSide[].
    范例: LeftSide[3x + 5 = 7] returns 3 x + 5 and RightSide[3x + 5 = 7] returns 7

Row References

You can refer to other rows in the Menu view cas.svg CAS View in two ways:

  • Static row references copy the output and won't be updated if the referenced row is subsequently changed
    • #: Copies the previous output.
    • #5: Copies the output of row 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
    • $: Inserts a reference to the previous output.
    • $5: Inserts a reference to the output of row 5

CAS Commands

GeoGebra also offers a wide range of CAS Commands that can be used to create objects in the Menu view cas.svg 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.

备注: For a complete list of Commands see section CAS Commands.
备注: From GeoGebra 4.9.170.0 on, the Menu view cas.svg CAS View supports exact versions of some Geometry Commands

.

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.

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