Difference between revisions of "Points and Vectors"

From GeoGebra Manual
Jump to: navigation, search
(copy of current help)
 
(syntax fixed + links added)
Line 1: Line 1:
 
<noinclude>{{Manual Page}}</noinclude>
 
<noinclude>{{Manual Page}}</noinclude>
Points and vectors may be entered in Cartesian or polar coordinates (see [[Numbers and Angles]]).
+
{{objects|geometric}}
 +
Points and vectors may be entered via [[Input Bar]] in Cartesian or polar coordinates (see [[Numbers and Angles]]). Points can also be created using [[Point tools]], [[Vector from Point Tool]],
 +
[[Vector between Two Points Tool]] and a variety of [[Commands|commands]].
 +
 
 +
{{note|Upper case labels denote points whereas lower case labels refer to vectors. This convention is not mandatory.}}
  
{{note|Upper case labels denote points whereas lower case labels refer to vectors.}}
 
  
 
{{example|
 
{{example|
* To enter a point P or a vector v in Cartesian coordinates you may use P = (1, 0) or v = (0, 5).
+
* To enter a point P or a vector v in Cartesian coordinates you may use <code><nowiki>P = (1, 0) or v = (0, 5)</nowiki></code>.
* In order to use polar coordinates type in P = (1; 0°) or v = (5; 90°).
+
* In order to use polar coordinates type in <code><nowiki>P = (1; 0°) or v = (5; 90°)</nowiki></code>.
 
}}
 
}}
 
 
{{note|You need to use a semicolon to separate polar coordinates. If you don’t type in the degree symbol, GeoGebra will treat the angle as if entered in radians.}}
 
{{note|You need to use a semicolon to separate polar coordinates. If you don’t type in the degree symbol, GeoGebra will treat the angle as if entered in radians.}}
  
Line 15: Line 17:
  
 
{{example|
 
{{example|
* You can create the midpoint M of two points A and B by entering
+
* You can create the midpoint M of two points A and B by entering <code><nowiki>M = (A + B) / 2</nowiki></code> into the Input Bar.
<code>M = (A + B) / 2</code> into the Input Bar.
+
* You may calculate the length of a vector v using <code><nowiki>length = sqrt(v * v)</nowiki></code>
* You may calculate the length of a vector v using <code>length = sqrt(v * v)</code>
 
 
}}
 
}}

Revision as of 11:48, 8 December 2010



Points and vectors may be entered via Input Bar in Cartesian or polar coordinates (see Numbers and Angles). Points can also be created using Point tools, Vector from Point Tool, Vector between Two Points Tool and a variety of commands.

Note: Upper case labels denote points whereas lower case labels refer to vectors. This convention is not mandatory.


Example:
  • To enter a point P or a vector v in Cartesian coordinates you may use P = (1, 0) or v = (0, 5).
  • In order to use polar coordinates type in P = (1; 0°) or v = (5; 90°).
Note: You need to use a semicolon to separate polar coordinates. If you don’t type in the degree symbol, GeoGebra will treat the angle as if entered in radians.


In GeoGebra, you can also do calculations with points and vectors.

Example:
  • You can create the midpoint M of two points A and B by entering M = (A + B) / 2 into the Input Bar.
  • You may calculate the length of a vector v using length = sqrt(v * v)
© 2024 International GeoGebra Institute