Le 26/02/2012 18:17, Robert Dodier a écrit : > On 2/26/12, JihemD<[email protected]> wrote: > >> pourquoi, concernant les expressions suivantes contenant le nombre d'or >> ( %phi ), Maxima répond-t-il par 'false' ? : >> >> is ((%phi * %phi) = (%phi + 1)); >> >> is (%phi = rhs(solve([x * x - x - 1 = 0],[x])[2])); > is(a = b) returns true if a and b are identical expressions. > > equal(a, b) returns true if a and b are equivalent expressions. > > e.g. is (x^2 - x = x*(x - 1)) => false > but: is (equal (x^2 - x, x*(x - 1))) => true > > likewise: > > is (equal (%phi, (sqrt(5) + 1)/2)) => true > > is (equal (%phi^2, %phi + 1)) => true > > > Hope this helps! Sorry for writing in English, my skills in French are > very weak. > > Robert Dodier Thx Robert, this helps, actually :
is ( equal ((%phi * %phi) , (%phi + 1))); and is ( equal (%phi , rhs(solve([x * x - x - 1 = 0],[x])[2]))); return : 'true' Hope my own skills in English are not too weaker than yours in french. regards Jean-Marc Detourmignies ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Maxima-lang-fr mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr
