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 Nexus  
#1 Posted : 10 May 2010 23:02:11(UTC)
Nexus

Rank: Newbie

Groups: Registered
Joined: 21/04/2010(UTC)
Posts: 7

Hello,

Small bug that can lead to calculation errors:

For example, you type 3^2=9. Then you remind that you missed factor 2 before the expression, so if you put 2* before the expression graphically you see 2*3^2, but result is 36.

Thanks.

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

Offline omorr  
#2 Posted : 11 May 2010 00:41:59(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

This was mentioned few times here. The problem is about invisible brackets.
2*3^2=18
2*3^2=36
It depends on how did you get this. If you enclose with the editing lines 3^2 or only 3 (horizontal and left vertical editing lines |__ ) then you will get different results.

One should be very careful about it. It is even possible to do something like this:
(2*3)^2=36
Then you can mark with the mouse:
2*3
Cut it and paste instead of:
(2*3)
You will get then, we might say, a wrong result:
2*3^2=36
You can even get from this (by Cut/Paste):
(2+3)*(4+5)=45
On the screen you will see (brackets will be invisible):
2+3*4+5=45
I am not sure if this is a bug or not. I think that user might be very careful about this and use brackets when needed.

Regards,
Radovan

Edited by user 11 May 2010 00:53:09(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Nexus  
#3 Posted : 11 May 2010 14:44:52(UTC)
Nexus

Rank: Newbie

Groups: Registered
Joined: 21/04/2010(UTC)
Posts: 7

Hello again,

I see the point, but since all beauty of this program is clear WYSIWYG interface, I think this is a bug.
User must be sure that if formula he wrote is graphically represented right, calculation is made according to this formula, and not according to invisible brackets.
Ofcourse user can get rid of all potential problems by using alot of brackets, but I think this is a wrong way.

Thanks,
Denis.
Offline omorr  
#4 Posted : 11 May 2010 15:54:07(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Denis,

I think Andrey is aware of this problem of "invisible brackets" and he will fix this as soon as he can.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Greg Locock  
#5 Posted : 11 May 2010 16:47:20(UTC)
Greg Locock


Rank: Advanced Member

Groups: Registered
Joined: 30/08/2009(UTC)
Posts: 52
Location: Australia

I agree with Denis. If it looks the same on the screen it should behave the same. No excuses, especially, in a GUI.
Offline Andrey Ivashov  
#6 Posted : 11 May 2010 17:51:21(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)
Agree, this is a bug. Will fix.
Offline omorr  
#7 Posted : 11 May 2010 18:11:06(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Speaking of GUI, here is one of the first mistake of my students.
These two regions look almost the same:

Of course, there are overlapping regions:


I am used to this, but this might be sometimes hard to trace.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Andrey Ivashov  
#8 Posted : 11 May 2010 18:24:26(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)
I have some thoughts about this thing too: it might be not a problem in case if SMath Studio will contain magic button like "layout assistance" or "layout auto arrange". Program can find all overlaps and can correct locations of the elements to prevent such types of errors. Also, this can be not a button, but an option. I mean that program (it's only an idea for now) can do this work in background on every user change. If this will be stable and predictable enough this option could be turned on by default.

Edited by user 11 May 2010 18:26:14(UTC)  | Reason: Not specified

Offline Andrey Ivashov  
#9 Posted : 22 June 2010 04:05:42(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)
Multiple issues fixed with wrong graphical representation of math expressions. Fix will be available with a new version of SMath Studio. For now, you can test calculation using SMath Studio Live.
Offline callmeishmael  
#10 Posted : 23 June 2010 12:24:05(UTC)
callmeishmael


Rank: Member

Groups: Registered
Joined: 29/04/2010(UTC)
Posts: 15
Man
Location: Italy

Was thanked: 4 time(s) in 2 post(s)
Andrey,

I guess you fixed more bugs in two months than what Mathcad did in the last 4 years.

Well done, Clap
Users browsing this topic
Guest
Similar Topics
Range Function Power Bug (Questions)
by davidlimtw 21/01/2021 21:08:22(UTC)
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.