[Maxima] Maxima equality operator
macrakis at alum.mit.edu
Mon Jul 26 09:31:57 CDT 2010
*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).*
On Mon, Jul 26, 2010 at 10:25, Julien Martin <balteo at gmail.com> wrote:
> 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"
> (%i2) is (expression1 = expression2)
> yields "false"
> Can anyone please help?
> Maxima mailing list
> Maxima at math.utexas.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima