Difference between revisions of "AreEqual Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "<noinclude>{{Manual Page|version=5.0}}</noinclude>{{betamanual|version=5.0}} {{command|logical}} {{warning|This GeoGebra command is heavily under construction. Expect to encounte...")
 
Line 3: Line 3:
 
{{warning|This GeoGebra command is heavily under construction. Expect to encounter various problems when trying it out. The syntax or the output of this command may be subject to change.}}
 
{{warning|This GeoGebra command is heavily under construction. Expect to encounter various problems when trying it out. The syntax or the output of this command may be subject to change.}}
 
;AreEqual[ <Object>, <Object> ]
 
;AreEqual[ <Object>, <Object> ]
 +
:Decides if the objects are equal.
 +
Normally this command computes the result numerically. This behavior can be changed by using the [[Prove Command|Prove]] command.
 +
{{example| 1=<div><code><nowiki>AreEqual[Segment[(1, 2), (3, 4)], Segment[(3, 4), (1, 6)]]</nowiki></code> yields ''true'' since the two segments have the same length. This command is an equivalent for the [[Boolean values|equal operation]], thus <code><nowiki>Segment[(1, 2), (3, 4)] ≟ Segment[(3, 4), (1, 6)]</nowiki></code> will result exactly the same output.</div>}}
 +
{{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcyclic Command|AreConcyclic]], [[AreConcurrent Command|AreConcurrent]], [[ArePerpendicular Command|ArePerpendicular]], [[AreParallel Command|AreParallel]] commands.}}

Revision as of 01:24, 3 November 2012


Warning Warning: This GeoGebra command is heavily under construction. Expect to encounter various problems when trying it out. The syntax or the output of this command may be subject to change.
AreEqual[ <Object>, <Object> ]
Decides if the objects are equal.

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

Example:
AreEqual[Segment[(1, 2), (3, 4)], Segment[(3, 4), (1, 6)]] yields true since the two segments have the same length. This command is an equivalent for the equal operation, thus Segment[(1, 2), (3, 4)] ≟ Segment[(3, 4), (1, 6)] will result exactly the same output.
© 2021 International GeoGebra Institute