>> On a similar note, anybody know why I can't get sage to equate e^
>> (theta*I) == cos(theta) + I*sin(theta) ?
>>     
>
>
> I don't know. Sage uses Maxima. Does maxima know Euler's formula?
>
>   
I suppose that Sage knows Euler's formula because

sage: var('x')
x
sage: real_part(e^(I*x))
e^(-imag_part(x))*cos(real_part(x))


but :

sage: var('x')
x
sage: assume(imag_part(x)==0)
sage: real_part(e^(I*x))
e^(-imag_part(x))*cos(real_part(x))

seems strange to me.
Does someone know how to make Sage understand that x is real and that 
e^(i*x) = cos(x)+I*sin(x) ??

Good afternoon
Laurent



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to