Difference between revisions of "CAS View"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
==Basic input==
 
==Basic input==
  
* Enter: evaluate input
+
* {{KeyCode|Enter}}: evaluate input
* Ctrl+Enter: check input but do no evaluate input, e.g. b+b stays b+b. Note that assignments are always evaluated, e.g. a := 5
+
* {{KeyCode|Ctrl+Enter}}: check input but do no evaluate input, e.g. ''b + b'' stays ''b + b''. Note that assignments are always evaluated, e.g. a := 5
 
* In an empty row type
 
* In an empty row type
**  space bar for previous output
+
**  {{KeyCode|Space}} bar for previous output
**  ) for previous output in parentheses
+
**  <code>)</code> for previous output in parentheses
**  = for previous input  
+
**  <code>=</code> for previous input  
* Suppress output with a semicolon at the end of your input, e.g. a := 5;  
+
* Suppress output with a semicolon at the end of your input, e.g. <code>a := 5;</code>
  
 
==Toolbar==
 
==Toolbar==
Line 19: Line 19:
 
===Assignments & Connection with GeoGebra===
 
===Assignments & Connection with GeoGebra===
  
* Assignments use the := notation, e.g. b := 5, a(n) := 2n + 3
+
* Assignments use the := notation, e.g. <code>b := 5</code>, <code>a(n) := 2n + 3</code>
* To free up a variable name again, use Delete[b] or b :=
+
* To free up a variable name again, use <code>Delete[b]</code> or <code>b :=</code>
* Variables and functions are always shared between the CAS view and GeoGebra if possible. If you define b:=5 in the CAS view, then you can use b in all of GeoGebra. If you have a function f(x)=x^2 in GeoGebra, you can also use this function in the CAS view.  
+
* Variables and functions are always shared between the CAS view and GeoGebra if possible. If you define <code>b:=5</code> in the CAS view, then you can use ''b'' in all of GeoGebra. If you have a function <code>f(x)=x^2</code> in GeoGebra, you can also use this function in the CAS view.  
  
 
===Row References===
 
===Row References===
Line 28: Line 28:
  
 
* Static row references insert text from another row, so your input is changed.
 
* Static row references insert text from another row, so your input is changed.
** # inserts the previous output
+
** <code>#</code> inserts the previous output
** #5 inserts the output of row 5
+
** <code>#5</code> inserts the output of row 5
 
* Dynamic row references use text from another row, but don't change your input.
 
* Dynamic row references use text from another row, but don't change your input.
** $ inserts the previous output
+
** <code>$</code> inserts the previous output
** $5 inserts the output of row 5
+
** <code>$5</code> inserts the output of row 5
  
 
==Equations==
 
==Equations==
  
* Equations are written using the simple Equals sign, e.g. 3x + 5 = 7
+
* Equations are written using the simple Equals sign, e.g. <code>3x + 5 = 7</code>
* You can perform arithmetic operations on equations, e.g. (3x + 5 = 7) - 5 subtracts 5 from both sides of the equation. This is useful for manual equation solving.
+
* You can perform arithmetic operations on equations, e.g. <code>(3x + 5 = 7) - 5</code> subtracts 5 from both sides of the equation. This is useful for manual equation solving.
* LeftSide[3x + 5 = 7] gives 3x+5 and RightSide[3x + 5 = 7] gives 7  
+
* <code>LeftSide[3x + 5 = 7]</code> returns ''3 x + 5'' and <code>RightSide[3x + 5 = 7]</code> returns ''7''
  
 
==Commands and Tools==
 
==Commands and Tools==
  
 
For a complete list of commands and tools see [[CAS Commands]] and [[CAS tools]].
 
For a complete list of commands and tools see [[CAS Commands]] and [[CAS tools]].

Revision as of 12:58, 20 August 2011

Basic input

  • Enter: evaluate input
  • Ctrl + Enter: check input but do no evaluate input, e.g. b + b stays b + b. Note that assignments are always evaluated, e.g. a := 5
  • In an empty row type
    • Space bar for previous output
    • ) for previous output in parentheses
    • = for previous input
  • Suppress output with a semicolon at the end of your input, e.g. a := 5;

Toolbar

  • Clicking a button in the toolbar applies a command to the currently edited row
  • You can select part of the input text to only apply the operation to this selected part

Variables

Assignments & Connection with GeoGebra

  • Assignments use the := notation, e.g. b := 5, a(n) := 2n + 3
  • To free up a variable name again, use Delete[b] or b :=
  • Variables and functions are always shared between the CAS view and GeoGebra if possible. If you define b:=5 in the CAS view, then you can use b in all of GeoGebra. If you have a function f(x)=x^2 in GeoGebra, you can also use this function in the CAS view.

Row References

You can refer to other rows in the CAS view in two ways

  • Static row references insert text from another row, so your input is changed.
    • # inserts the previous output
    • #5 inserts the output of row 5
  • Dynamic row references use text from another row, but don't change your input.
    • $ inserts the previous output
    • $5 inserts the output of row 5

Equations

  • Equations are written using the simple Equals sign, e.g. 3x + 5 = 7
  • You can perform arithmetic operations on equations, e.g. (3x + 5 = 7) - 5 subtracts 5 from both sides of the equation. This is useful for manual equation solving.
  • LeftSide[3x + 5 = 7] returns 3 x + 5 and RightSide[3x + 5 = 7] returns 7

Commands and Tools

For a complete list of commands and tools see CAS Commands and CAS tools.

© 2024 International GeoGebra Institute