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

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

#1 Objavljeno: 6. 3. 2010. 08:24:59
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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 Objavljeno: 7. 3. 2010. 03:29:58
Greg Locock

Greg Locock

0 svidjanja u 53 postova.

Grupa: 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 Objavljeno: 7. 3. 2010. 12:45:03
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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!"
  • Novi postovi
  • Nema novih postova