Difference between revisions of "Direction Command"
From GeoGebra Manual
(create official page from pdf) |
(command syntax: changed [ ] into ( )) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}} |
− | ; Direction | + | ; Direction( <Line> ): Yields the direction vector of the line. |
− | : Note | + | :{{Example|1=<code>Direction(-2x + 3y + 1 = 0)</code> yields the vector <math>u= \begin{pmatrix} 3 \\ 2 \end{pmatrix} </math>}} |
+ | :{{Note|1=A line with equation ''ax + by = c'' has the direction vector ''(b, - a)''.}} |
Latest revision as of 10:05, 11 October 2017
- Direction( <Line> )
- Yields the direction vector of the line.
- Example:
Direction(-2x + 3y + 1 = 0)
yields the vector u= \begin{pmatrix} 3 \\ 2 \end{pmatrix}
- Note: A line with equation ax + by = c has the direction vector (b, - a).