Boolean less than and greater than

Boolean less than and greater than - difficulty using < and > - Mensajes

#1 Publicado: 29/1/2014 12:27:21
MrGreen

MrGreen

0 me gusta en 2 mensajes.

Grupo: 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 Publicado: 30/1/2014 4:47:15
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 30/1/2014 4:48:18
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 19/2/2014 10:08:21
MrGreen

MrGreen

0 me gusta en 2 mensajes.

Grupo: User

thanks very much
#5 Publicado: 19/2/2014 13:50:51
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Davide Carpi 19/2/2014 14:35:00
  • Nuevos mensajes
  • Sin mensajes nuevos