Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
1

How to expand e^(jx) ?

asked 2 years ago

Andr gravatar image

updated 2 years ago

I want express ejx in trigonometric form

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 2 years ago

Emmanuel Charpentier gravatar image

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,

Preview: (hide)
link

Comments

exp(i*x).demoivre() works in Sage 9.5 and higher versions, but not in Sage 9.4 and lower.

eric_g gravatar imageeric_g ( 2 years ago )
0

answered 2 years ago

tolga gravatar image

Does the following work for you?

sageobj(exp(i*x)._maxima_().demoivre())
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2 years ago

Seen: 207 times

Last updated: Apr 14 '22