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

2011-06-30 Thread Burcin Erocal
On Wed, 29 Jun 2011 19:54:06 -0700 (PDT) ObsessiveMathsFreak wrote: > This is pretty infuriating. Unfortunately we haven't worked out the interaction between maxima's assume() function and GiNaC/Pynac's knowledge of domains yet. > sage: forget() > sage: assume(theta,'real') > sage: exp(I*theta)

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

2011-06-29 Thread ObsessiveMathsFreak
This is pretty infuriating. sage: forget() sage: assume(theta,'real') sage: exp(I*theta).real() e^(-imag_part(theta))*cos(real_part(theta)) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.