Difference between revisions of "AreEqual Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{betamanual|version=5.0}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}{{betamanual|version=5.0}}
{{command|logical}}
+
 
 
{{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.
 
: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.
 
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>}}
+
:{{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.}}
 
{{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcyclic Command|AreConcyclic]], [[AreConcurrent Command|AreConcurrent]], [[ArePerpendicular Command|ArePerpendicular]], [[AreParallel Command|AreParallel]] commands.}}

Revision as of 10:22, 22 July 2014



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.
© 2024 International GeoGebra Institute