acos(0.11)

acos(0.11) - Messages

#1 Posted: 6/13/2010 3:56:51 AM
lucioestacio

lucioestacio

0 likes in 1 posts.

Group: User

Hi... in my workpage display its.

acos(0.1)=1.4706
acos(0.11)=1.4606+1.1102*10^-16*i
acos(0.12)=1.4505

wait?
thanks.
Lucio
#2 Posted: 6/13/2010 6:33:30 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Lucio,

SMath does not have the treshold of the real and imaginary numbers. That means that there is not incorporated the procedure for presenting small real and imaginary numbers. Therefore, in some cases SMath will represent a complex number with rather small imaginary part instead of a real number expected. The small imaginary part (like in your case) is often due to the small numerical error of the numerical algorithm applied.

For instance, it is rational to represent a small real number say, 10^-35 as zero, or a comples number, say 5.3+1.8*10^(-18) as 5.3 ignoring the imaginary part. This is not implemented in SMath yet.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • New Posts New Posts
  • No New Posts No New Posts