from sympy import *
a = symbols('a',positive=True)
(1/(sec(a)**2-1)**(3/2)).subs(sec(a)**2-1,tan(a)**2)

last statement should output something close to 1/tan^3(a), or 
abs(tan(a))/tan^4(a)

But instead it outputs something unrelated: abs(tan(a))/tan^2(a)

Is this a bug or I'm missing something?

-- 
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/a2a84d7e-7a48-49e9-8b76-e24ae8fe486c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to