Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline sleschke  
#1 Posted : 06 February 2009 16:17:05(UTC)
sleschke


Rank: Member

Groups: Registered
Joined: 05/02/2009(UTC)
Posts: 13
Location: Germany

Hello Smath,

I would like to thank you too for providing such a great program.
When I tried some basic calculation I found some inconsistance
in the way a term is evaluated.

If I try: π/6 + π/6 ->
I will get 12π/36.
By using the menu this can be simplified to π/3

If I assign: X1:=π/6 X2:=π/6
and try: X1 + X2 ->
I will get 7440786129085100/7105427357601000

I would have expected the same result like in the direct calculation.

I had a similar effect when calculating a definite integral
from -π/6 to +π/6 of cos(x)dx I will get the result 1.
If I do the same integral for √2*cos(x)dx I will get 7071/5000

In general I would say that results should stay symbolic as far as possible.
It would also be nice if results would already be simplified as far as possible.
Offline Andrey Ivashov  
#2 Posted : 06 February 2009 17:23:45(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1660 time(s) in 557 post(s)
Thank you for the reports.
sleschke wrote:
when calculating a definite integral
from -π/6 to +π/6 of cos(x)dx I will get the result 1.
If I do the same integral for √2*cos(x)dx I will get 7071/5000

This happens because definite integrals program can evaluate only in numeric, that's why we can't fix it now. But I'll remember it for the future.
sleschke wrote:
If I assign: X1:=π/6 X2:=π/6
and try: X1 + X2 ->
I will get 7440786129085100/7105427357601000

Thanks for this finding, will try to fix it till next release.
Offline Andrey Ivashov  
#3 Posted : 07 February 2009 00:21:14(UTC)
Andrey Ivashov


Rank: Administration

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

Was thanked: 1660 time(s) in 557 post(s)
One of the issues fixed:


Will be available in the next version of SMath Studio. Thank you once again Good
Users browsing this topic
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.