Re: [sage-support] Expand complex exponential using eulers formula

2011-06-30 Thread Francois Maltey
ObsessiveMathsFreak wrote : 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 li

[sage-support] Expand complex exponential using eulers formula

2011-06-29 Thread ObsessiveMathsFreak
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)) sh