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 omorr  
#1 Posted : 06 March 2010 14:24: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 Andrey,

Have you thought about using the a<b<c and a>b>c to behave like in Mathcad (gives "true" if b is inside the interval (a,c))? I do not mind the way it is in SMath, but I know from my experience as a teacher that this is a standard mistake many students make.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"

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

Offline Greg Locock  
#2 Posted : 07 March 2010 09:29:58(UTC)
Greg Locock


Rank: Advanced Member

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

Code:
I'm a bit wary of notations that cannot be parsed. a>b>c is an ambigous statement to me, I could parse it as (a>b)>c or perversely a>(b>c), neither of which reflect the intended meaning of (a>b)*(b>c)

Edited by user 07 March 2010 09:38:03(UTC)  | Reason: Not specified

Offline omorr  
#3 Posted : 07 March 2010 18:45:03(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)
Greg Locock wrote:
Code:
I'm a bit wary of notations that cannot be parsed. a>b>c is an ambigous statement to me, I could parse it as (a>b)>c or perversely a>(b>c), neither of which reflect the intended meaning of (a>b)*(b>c)

I agree that this is a bit questionable. I am not quite sure why Mathcad used it (or most likely - I forgot why)

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
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.