Hi PG Though you should what output you expect(that helps the answerer). Assuming you expect solution in terms of `sin` or `cos` or some trigonometry. You can fo this: ``` >>> expr = (2+2*I)*exp(I*a) - (2-2*I)*exp(-I*a) >>> simplify(expr.rewrite(sin)) 4*sqrt(2)*I*sin(a+pi/4) ```
Cheers Gaurav -- 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/dc71e2c2-49fb-4b2d-ad49-696c70d72101%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
