What is the easiest way to automate the simplification of trigonometric polynomials such as:
ersq = cos(theta)**2 + cos(phi)**2*sin(theta)**2 + sin(phi)**2*sin(theta)**2 ethetasq = r**2*sin(theta)**2 + r**2*cos(phi)**2*cos(theta)**2 + r**2*cos(theta)**2*sin(phi)**2 ephisq = r**2*cos(phi)**2*sin(theta)**2 + r**2*sin(phi)**2*sin(theta)**2 I don't want to have to come up with a different set of commands for each different polynomial. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---