Difference between revisions of "ArePerpendicular Command"
From GeoGebra Manual
(add AreCongruent) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}} | ||
− | ;ArePerpendicular | + | ;ArePerpendicular( <Line>, <Line> ) |
:Decides if the lines are perpendicular. | :Decides if the lines are perpendicular. | ||
Normally this command computes the result numerically. This behavior can be changed by using the [[Prove Command|Prove]] command. | Normally this command computes the result numerically. This behavior can be changed by using the [[Prove Command|Prove]] command. | ||
:{{example| 1=<div><code><nowiki>ArePerpendicular[Line[(-1, 0), (0, -1)], Line[(0, 0),(2,2)]]</nowiki></code> yields ''true'' since the given lines are perpendicular.</div>}} | :{{example| 1=<div><code><nowiki>ArePerpendicular[Line[(-1, 0), (0, -1)], Line[(0, 0),(2,2)]]</nowiki></code> yields ''true'' since the given lines are perpendicular.</div>}} | ||
{{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcurrent Command|AreConcurrent]], [[AreConcyclic Command|AreConcyclic]], [[AreCongruent Command|AreCongruent]], [[AreEqual Command|AreEqual]], [[AreParallel Command|AreParallel]] commands.}} | {{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcurrent Command|AreConcurrent]], [[AreConcyclic Command|AreConcyclic]], [[AreCongruent Command|AreCongruent]], [[AreEqual Command|AreEqual]], [[AreParallel Command|AreParallel]] commands.}} |
Revision as of 16:17, 7 October 2017
- ArePerpendicular( <Line>, <Line> )
- Decides if the lines are perpendicular.
Normally this command computes the result numerically. This behavior can be changed by using the Prove command.
- Example:
ArePerpendicular[Line[(-1, 0), (0, -1)], Line[(0, 0),(2,2)]]
yields true since the given lines are perpendicular.
Note: See also AreCollinear, AreConcurrent, AreConcyclic, AreCongruent, AreEqual, AreParallel commands.