Difference between revisions of "AreParallel Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
(command syntax: changed [ ] into ( ))
Line 3: Line 3:
 
:Decides if the lines are parallel.
 
:Decides if the lines are parallel.
 
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>AreParallel[Line[(1, 2), (3, 4)], Line[(5, 6),(7,8)]]</nowiki></code> yields ''true'' since the given lines are parallel.</div>}}
+
:{{example| 1=<code><nowiki>AreParallel(Line[(1, 2), (3, 4)), Line((5, 6),(7,8)))</nowiki></code> yields ''true'' since the given lines are parallel.}}
 
{{Note| See also  [[AreCollinear Command|AreCollinear]], [[AreConcurrent Command|AreConcurrent]], [[AreCongruent Command|AreCongruent]], [[AreConcyclic Command|AreConcyclic]], [[AreEqual Command|AreEqual]], [[ArePerpendicular Command|ArePerpendicular]] commands.}}
 
{{Note| See also  [[AreCollinear Command|AreCollinear]], [[AreConcurrent Command|AreConcurrent]], [[AreCongruent Command|AreCongruent]], [[AreConcyclic Command|AreConcyclic]], [[AreEqual Command|AreEqual]], [[ArePerpendicular Command|ArePerpendicular]] commands.}}

Revision as of 09:58, 11 October 2017


AreParallel( <Line>, <Line> )
Decides if the lines are parallel.

Normally this command computes the result numerically. This behavior can be changed by using the Prove command.

Example: AreParallel(Line[(1, 2), (3, 4)), Line((5, 6),(7,8))) yields true since the given lines are parallel.
© 2024 International GeoGebra Institute