Ask Your Question
1

How to expand e^(jx) ?

asked 2022-04-14 05:02:02 +0100

Andr gravatar image

updated 2022-04-14 05:02:11 +0100

I want express $e^{jx}$ in trigonometric form

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2022-04-14 10:01:34 +0100

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,

edit flag offensive delete link more

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 ( 2022-04-14 15:59:42 +0100 )edit
0

answered 2022-04-14 09:37:52 +0100

tolga gravatar image

Does the following work for you?

sageobj(exp(i*x)._maxima_().demoivre())
edit flag offensive delete link more

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: 2022-04-14 05:02:02 +0100

Seen: 187 times

Last updated: Apr 14 '22