e^(%pi*%i) +1 =0
Title
Question
Sir/ madam,
The answer of the above mentioned question is 0 but it is coming something else to me.
Scilab Getting-Started 07-08 min 0-10 sec
Answers:
The easiest way to debug this is to create intermediate variables and check that the answers are correct for them also. I will do the following:
p = %pi*%i
e^p+1
This process is an easy way to debug your code.
Login to add comment