Difference between revisions of "AreEqual Command"

From GeoGebra Manual
Jump to: navigation, search
(remove warning)
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}{{betamanual|version=5.0}}
+
'''Bold text'''<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}{{betamanual|version=5.0}}
  
{{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.

Revision as of 08:48, 13 September 2014

Bold text



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