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 cos_phi  
#1 Posted : 21 April 2010 20:41:20(UTC)
cos_phi


Rank: Advanced Member

Groups: Registered
Joined: 20/04/2010(UTC)
Posts: 33

Hello (again)

I posted before but it didn't show up. I won't insist.
However, I may have found a bug, if it's not, please disregard this. I uploaded the file to:

" http://www.easy-share.co...6260/Inv.%20Chebyshev.sm " [edit]the link didn't show up properly[/edit]

I'm trying to recreate the files from wxMaxima and I have the denominator as:
wxMaxima: D(k):=1/(sin(x(k))^2*sinh(y)^2+cos(x(k))^2*cosh(y)^2)
SMath: D(k):=1/{sin(x(k))^2*sinh(y)^2+cos(x(k))^2*cosh(y)^2}

wxMaxima: D(1)=.113545
SMath: D(1)=0.0662

I tried with symbolical evaluation:

wxMaxima: 1/(sinh(asinh(3*sqrt(1111))/3)^2/4+(3*cosh(asinh(3*sqrt(1111))/3)^2)/4)
SMath: 16/{4*sinh(asinh(sqrt(9999))/3)^2+12*cosh(asinh(sqrt(9999))/3)^2}

which are one and the same. Is this a bug or am I doing something wrong?


Regards,
Vlad.

PS: I'm using Ubuntu Karmic x64.


[EDIT2]
sinh seems to be the problem:
Maxima: sinh(y)=2.83849
SMath: sinh(y)=5.7625

y=(1/3)*asinh(sqrt(10^(40/10)-1)) and is the same in both programs: 1.7661
[/EDIT2]


[EDIT3, and last]
On http://smath.info/live/?lang=eng x=17661/10000 and sh(x)=2.8385
[/EDIT3]

Edited by user 21 April 2010 21:03:46(UTC)  | Reason: Not specified

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

Offline Andrey Ivashov  
#2 Posted : 21 April 2010 21:18:03(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello.

Thank you for figuring it out! This is a bug of sinh(..) function. I will fix it of cause, but for now I can suggest a solution: you need to override sinh(x) function on top of the page. Here is the screen:



Sorry for this error Sad
Best regards.
Offline cos_phi  
#3 Posted : 21 April 2010 21:19:37(UTC)
cos_phi


Rank: Advanced Member

Groups: Registered
Joined: 20/04/2010(UTC)
Posts: 33

I said I won't edit anymore, so I'm replying...

Using (e^y +/- e^-y)/2 gives the true result. Just thought I'd let you know.


[EDIT]
We seem to have posted in ~the same time Good

Good luck and thank you for this wonderful alternative to Mathcad.

Kind regards,
Vlad.
[/EDIT]

Edited by user 21 April 2010 21:21:35(UTC)  | Reason: Not specified

Offline Andrey Ivashov  
#4 Posted : 22 June 2010 03:52:48(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Sinh(..) function calculation fixed. Fix will be available with a new version of SMath Studio. For now, you can test calculation using SMath Studio Live.
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.