I have complex formulas involving several occurances of complex exponentials. e.g. e^(2*I*theta), e^(3*I*theta)
I would like to find the real part of the expression (there are several variables), but when I do so, the expression becomes unwieldy with a lot of terms like sin(-2*real_part(theta)) showing up. How can I avoid this behaviour, simply getting sage to recognise that theta is real, and that I just want it to expand e^(it) into cos(t) +i*sin(t)? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org