On 29 May 2015 22:06, "Thomas Leitz" <unruh...@gmail.com> wrote:
>
> Hi,
>
> the online shell at http://live.sympy.org/ tells me
>
> diff(x^x,x) = 0
>
> Why is that?
^ doesn't do what you're expecting in Python. Use ** for exponentiation.
--
Oscar
In [1]: x^x
Out[1]: False
In [2]: diff(False, x)
Out[2]: 0
I also vote for the TypeError.
--
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 sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
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/556B7A6C.4030009%40durchholz.org.