Re: [sage-support] How Sage compares expressions containing square roots ?

2015-02-26 Thread Christophe Bal
Thanks a lot for you answer and the explanations about the method you've used. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a "Lycée" **and **Python **amateur developer* 2015-02-26 23:25 GMT+01:00 Vincent Delecroix <20100.d

Re: [sage-support] How Sage compares expressions containing square roots ?

2015-02-26 Thread Vincent Delecroix
Most of the time you can do introspection directly in the console or the notebook. By typing "myobject??". But here it fails because it is compiled code: sage: eq = sqrt(6) + sqrt(2) == 2 * sqrt(sqrt(3) + 2) sage: eq sqrt(6) + sqrt(2) == 2*sqrt(sqrt(3) + 2) sage: eq.__nonzero__?? Error getting sou

[sage-support] How Sage compares expressions containing square roots ?

2015-02-26 Thread Christophe Bal
Hello. How Sage do to evaluate *bool(sqrt(2) + sqrt(6) == 2*sqrt(sqrt(3)+2))* ? *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a "Lycée" **and **Python **amateur developer* -- You received this message because you are subscr