How to expand e^(jx) ?
I want express ejx in trigonometric form
add a comment
I want express ejx in trigonometric form
On 9.6.rc0
:
sage: sageobj(exp(i*x)._maxima_().demoivre())
cos(x) + I*sin(x)
BTW :
sage: exp(i*x).demoivre()
cos(x) + I*sin(x)
HTH,
exp(i*x).demoivre()
works in Sage 9.5 and higher versions, but not in Sage 9.4 and lower.
Asked: 2 years ago
Seen: 207 times
Last updated: Apr 14 '22