How to write this in Scilab?
e^2.(0.5+0.6i); pl include also answer. thank you.
SASTRA Deemed University, Thanjavur
3.694528 + 4.4334337i
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.
SASTRA Deemed to be University, Thanjavur