saving . . . saved Euler's identity realated doubt has been deleted. Euler's identity realated doubt has been hidden .
Euler's identity realated doubt
Title
Question
-->exp(%pi*%i)+1
ans =
1.225D-16i
-->cos(%pi) + %i*sin(%pi)+1
ans =
1.225D-16i
-->clean(exp(%pi*%i)+1)
ans =
0
-->clean(cos(%pi) + %i*sin(%pi)+1)
ans =
0
how 0 is coming after using clean() function . can you give explanation for it.

Scilab Getting-Started 15-16 min 50-60 sec 04-05-19, 12:23 p.m. surya3

Answers:

Because clean rounds off tiny values, and 1.225D-16i is extremely tiny.
04-05-19, 12:27 p.m. siddharth11235@gmail.com


Log-in to answer to this question.