Hi--

If I have:
x,f=symbols('x,f',real=True)
exp1=E**(-I*2*pi*f*x)
exp2=exp1.expand(complex=True)

exp2 returns:
-I*sin(2*pi*f*x) + cos(2*pi*f*x)

Is there a way to go from exp2 back to exp1?

Thanks--
 Greg

-- 
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?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to