Maxima equality operator



Perfect! That is exactly what I needed!
Thanks,
J.

2010/7/26 Stavros Macrakis <macrakis at alum.mit.edu>

> *In Maxima, '=' is used to express equations.  For example:*
> *
> *
> *    quad: 2*x^2=x-1$*
>
> *assigns to the programming variable 'quad' the equation '2*x^2=x-1'.  To
> find roots of the equation (that is, values of x which make it true), you
> can use solve(quad,x).  To see if two expressions are syntactically equal,
> you can use is( lhs(quad) = rhs(quad) ), which is false.  To see if two
> expressions are mathematically equal, you can use is( equal( lhs(quad),
> rhs(quad) )), which in this case is unknown (it depends on the value of x).
> *
> *
> *
>               -s
>
> On Mon, Jul 26, 2010 at 10:25, Julien Martin <balteo at gmail.com> wrote:
>
>> Hello,
>> I would like to know which is the maxima equality operator for two
>> expressions. For instance, Maxima tells me that:
>> (%i1) expression1 - expression2
>> yields "0"
>> but:
>> (%i2) is (expression1 = expression2)
>> yields "false"
>> Can anyone please help?
>> Julien.
>>
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>>
>