Boolean less than and greater than

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

#1 Objavljeno: 29. 1. 2014. 12:27:21
MrGreen

MrGreen

0 svidjanja u 2 postova.

Grupa: 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 Objavljeno: 30. 1. 2014. 04:47:15
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 30. 1. 2014. 04:48:18
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: 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 Objavljeno: 19. 2. 2014. 10:08:21
MrGreen

MrGreen

0 svidjanja u 2 postova.

Grupa: User

thanks very much
#5 Objavljeno: 19. 2. 2014. 13:50:51
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Davide Carpi 19. 2. 2014. 14:35:00
  • Novi postovi
  • Nema novih postova