I do not know. If it is already evaluated to cos(x) then it should be
true. current "sympy" gives false, I think I
would go with it.

On Apr 3, 11:36 am, "[email protected]" <[email protected]> wrote:
> What kind of behavior do you expect from the following command?
>
> isinstance(diff(sin(x),x),"what to put?")
>
> Robert
>
> On 3 dub, 20:32, pallab <[email protected]> wrote:
>
> > Is there any way to check whether a symbolic expression is a
> > derivative. Like,
>
> > isinstance(diff(f(x),x),"what to put?")
>
> > gives "True"
>
> > and
>
> > isinstance(f(x),"what to put?")
>
> > gives false, assuming f is not a derivative itself.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to