On 27/12/2019 09:33, [email protected] wrote:

Strangely enough, I get the following results:

>>> from sympy.abc import *
>>> Derivative(x,y)
Derivative(x, y)
>>> Derivative(x**2,y)
Derivative(x**2, y)
>>> Derivative(x**2,x)
Derivative(x**2, x)
>>> Derivative(sin(x),x)
Derivative(sin(x), x)
>>> simplify(Derivative(sin(x),x))
Derivative(sin(x), x)
>>> simplify(Derivative(sin(x), x))
Derivative(sin(x), x)
>>>

I.e. simplify did not evaluate the derivative at all. That was using Python 3.7 and sympy 1.5.

I tried this because my guess is that in the OP's original problem, the variables 's' and 'u' had been accidentally overwritten somewhere earlier in his sympy session- e.g.

s=0

u=0

Then the derivatives would obviously evaluate to zero.

David


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/90444ecc-d73a-7680-5f8f-c9cd2f65a1b9%40dbailey.co.uk.

Reply via email to