1 Pages (3 items)
Complex Number Addition When Evaluating Natural Log - Messages
#1 Posted: 7/29/2015 8:52:53 PM
Hi,
I have noticed an issue when evaluating a natural log as a function, I am getting seemingly random additions of a multiple of i.
If I evaluate the expression, it for some reason adds a multiple of i to the correct, real portion of that.
For example suppose I have the function f(a)=ln((a-1)/(a+1)). If I evaluate this at a=1.3921, I should get the answer f(1.3921)=-1.8084. But the function returns f(1.3921) = -1.8085+3.1416*i. It appears to be adding 3.1416*i (pi*i). I have to get around this by using Re(). Am I missing something or is this an error?
I have noticed an issue when evaluating a natural log as a function, I am getting seemingly random additions of a multiple of i.
If I evaluate the expression, it for some reason adds a multiple of i to the correct, real portion of that.
For example suppose I have the function f(a)=ln((a-1)/(a+1)). If I evaluate this at a=1.3921, I should get the answer f(1.3921)=-1.8084. But the function returns f(1.3921) = -1.8085+3.1416*i. It appears to be adding 3.1416*i (pi*i). I have to get around this by using Re(). Am I missing something or is this an error?
#2 Posted: 7/30/2015 4:45:42 AM
#3 Posted: 7/31/2015 3:03:25 AM
Thank you for your reply. I have tried to replicate it again myself but I have been unable to as well. I will find the worksheet it originally happened in and will try to post the issue.
1 Pages (3 items)
-
New Posts
-
No New Posts