Difference between revisions of "AreEqual Command"

From GeoGebra Manual
Jump to: navigation, search
(add AreCongruent)
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}
;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.

Revision as of 17:15, 7 October 2017


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[Circle[(0, 0),1],x^2+y^2=1] yields true since the two circles have the same center and radius.
Note: AreEqual[Segment[(1, 2), (3, 4)], Segment[(3, 4), (1, 6)]] is different from Segment[(1, 2), (3, 4)] == Segment[(3, 4), (1, 6)] as the latter compares just the lengths
© 2024 International GeoGebra Institute