Comment #5 on issue 1395 by [email protected]: trigsimp doesn't simplify an expression that == 1
http://code.google.com/p/sympy/issues/detail?id=1395

In PR 1690, recursive doesn't work but a double application of trigsimp does work:

eq
sin(q3)**2*sin(q4)**2 + cos(q3)**2*cos(q4)**2*tan(q4)**2 + cos(q4)**2
trigsimp(eq)
sin(q3)**2*sin(q4)**2 - cos(q3)**2*cos(q4)**2 + cos(q3)**2 + cos(q4)**2
trigsimp(eq,recursive=1)
sin(q3)**2*sin(q4)**2 - cos(q3)**2*cos(q4)**2 + cos(q3)**2 + cos(q4)**2
trigsimp(trigsimp(eq))
1


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
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/sympy-issues?hl=en.

Reply via email to