Boolean less than and greater than

Boolean less than and greater than - difficulty using < and > - Сообщения

#1 Опубликовано: 29.01.2014 12:27:21
MrGreen

MrGreen

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

Группа: User

hi there,

I've just started using smath for a uni project,and i am trying to get an answer not to exceed a particular amount, i was hoping that you guys might have a method, tips or tutorial to explain it.

thanks in advance
#2 Опубликовано: 30.01.2014 04:47:15
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hi Mr Green,

You can use booleans and programming functions (if/else) to check if your answer fit your target.

On the wiki you can found an example (here) and also a lot of tutorials and examples about using SMath Studio.

Moreover, there are plugins to extends these features:
- CF Label plugin
- Functions' Extensions
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 30.01.2014 04:48:18
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hi Mr Green,

You can use booleans and programming functions (if/else) to check if your answer fit your target.

On the wiki you can found an example (here) and also a lot of tutorials and examples about using SMath Studio.

Moreover, there are plugins to extends these features:
- CF Label plugin
- Functions' Extensions
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 19.02.2014 10:08:21
MrGreen

MrGreen

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

Группа: User

thanks very much
#5 Опубликовано: 19.02.2014 13:50:51
Martin Kraska

Martin Kraska

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

Группа: Moderator

Wrote

i am trying to get an answer not to exceed a particular amount



you might just use [MATH]Min(whatever_you_get;upper_limit)[/MATH]. The lowercase function [MATH]min(#)[/MATH] works as well but just takes a single vector or matrix argument.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Davide Carpi 19.02.2014 14:35:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений