Hello.

Have you tried to simplify exp_1 - exp_2 to see if it is equal to zero ?


*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-10 9:20 GMT+01:00 Peter <[email protected]>:

> Hi everybody,
>
> for my recent project I have to check using sympy if two terms are equal
> or identical.
>
> *Example*:
>
>    - x+2=5 and x+5=8 - these two terms are equal (equivalent) but they
>    are not identical
>    - x+2=5 and x+2=5 - these are equal and identical
>
> *Question*:
>
> Is it possible to differentiate between "equal" and "identical"? If so -
> how do I achieve this?
>
>
> Thanks a lot!
>
> Peter
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/5d39e92a-32d4-4876-a04d-1ac5c8ed2ed1%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/5d39e92a-32d4-4876-a04d-1ac5c8ed2ed1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAAb4jGnJpqH_UWz4-6dWTtz_jjUBAf-JZ_TTHr6GaUjPqpaa%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to