Difference between revisions of "AreEqual Command"

From GeoGebra Manual
Jump to: navigation, search
(remove warning)
m (typo)
Line 1: Line 1:
'''Bold text'''<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}{{betamanual|version=5.0}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}{{betamanual|version=5.0}}
  
 
;AreEqual[ <Object>, <Object> ]
 
;AreEqual[ <Object>, <Object> ]

Revision as of 08:49, 13 September 2014



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