Difference between revisions of "PerpendicularVector Command"

From GeoGebra Manual
Jump to: navigation, search
m (Bot: Automated text replacement (-{{command +{{command|cas=true))
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|vector-matrix}}
 
{{command|cas=true|vector-matrix}}
 
;PerpendicularVector[Line]
 
;PerpendicularVector[Line]

Revision as of 21:19, 9 March 2013



PerpendicularVector[Line]
Returns the perpendicular vector of the line.
Note: A line with equation ax + by = c has the perpendicular vector (a, b).
PerpendicularVector[Segment]
Returns the perpendicular vector of the segment with the same length.
PerpendicularVector[Vector v]
Returns the perpendicular vector of the given vector.
Note: A vector with coordinates (a, b) has the perpendicular vector (-b, a).

CAS Syntax

PerpendicularVector[Vector v]
Returns the perpendicular vector of the given vector.
Example:
  • PerpendicularVector[(3, 2)] yields the vector {-2, 3}.
  • PerpendicularVector[(a, b)] yields the vector {-b, a}.
© 2024 International GeoGebra Institute