scilab doubt

How to write this in Scilab?

e^2.(0.5+0.6i); pl include also answer. thank you.

Ravi kumar

SASTRA Deemed University, Thanjavur

Scilab 04-05-19, 11:21 a.m. ravi2544



ans =

3.694528 + 4.4334337i

04-05-19, 11:27 a.m. Sid11235

Thank you.

04-05-19, 11:35 a.m. ravi2544

Login to add comment



How do you want to execute the above expression? Is it exp(2*(0.5+0.6i) or exp(2)+(0.5+0.6i)?. I typed it as: exp(2*(0.5+0.6*%i)). I got the answer as 0.9849905 + 2.5335449i. The result depends on how you use the paranthesis.

As previous comment, if you dont use paranthesis for whole term, you will get different answer.

T Srihari

SASTRA Deemed to be University, Thanjavur

04-05-19, 11:41 a.m. srihv

Please read the expression exp(2)+(0.5+0.6i)? as exp(2)*(0.5+0.6i). 

04-05-19, 11:43 a.m. srihv

thank you

04-05-19, 12:33 p.m. ravi2544

Login to add comment

Log-in to answer to this question.