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

a<b<c, a>b>c ? - Сообщения

#1 Опубликовано: 06.03.2010 08:24:59
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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 Опубликовано: 07.03.2010 03:29:58
Greg Locock

Greg Locock

0 сообщений из 53 понравились пользователям.

Группа: 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 Опубликовано: 07.03.2010 12:45:03
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: 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!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений