Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline cmmcnamara  
#1 Posted : 30 July 2015 02:52:53(UTC)
cmmcnamara

Rank: Newbie

Groups: Registered
Joined: 23/11/2013(UTC)
Posts: 5
United States

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?


Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 30 July 2015 10:45:42(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,654
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
I can't replicate the issue. Maybe you have something different in SMath settings (Tools > Settings... > Calculation > Answer).

Edited by user 30 July 2015 10:48:04(UTC)  | Reason: Not specified

Davide Carpi attached the following image(s):
2015-07-30 08_22_43-SMath Studio Desktop - [Verifica sezioni senza armatura a taglio - S200-300 - se.png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline cmmcnamara  
#3 Posted : 31 July 2015 09:03:25(UTC)
cmmcnamara

Rank: Newbie

Groups: Registered
Joined: 23/11/2013(UTC)
Posts: 5
United States

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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.