a<b<c, a>b>c ?

a<b<c, a>b>c ? - Messaggi

#1 Pubblicato: 06/03/2010 08:24:59
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: Moderator

Hello Andrey,

Have you thought about using the ab>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!"
#2 Pubblicato: 07/03/2010 03:29:58
Greg Locock

Greg Locock

0 apprezzamenti in 53 post.

Gruppo: User

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)
#3 Pubblicato: 07/03/2010 12:45:03
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: Moderator

Wrote

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!"
  • Nuovi post
  • Nessun nuovo post