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 ------------------------------------------------------------------------------ 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
