Operation cannot be performed with units and solution exceeding max allowed numerical values

Operation cannot be performed with units and solution exceeding max allowed numerical values - Messaggi

#1 Pubblicato: 17/11/2015 14:47:22
aero

aero

0 apprezzamenti in 12 post.

Gruppo: User

Capture.PNG

I am getting the error of "Operation cannot be performed with units but I redefined the values with new variable names which has no unit but I am still getting the same error. I need suggestions to resolve this issue. I have attached the Smath file and a screen shot of the same.

Thanks !
#2 Pubblicato: 17/11/2015 17:01:25
Ernesto

Ernesto

13 apprezzamenti in 74 post.

Gruppo: User

Post the file.
#3 Pubblicato: 17/11/2015 17:07:51
dio pants

dio pants

16 apprezzamenti in 180 post.

Gruppo: User

What is this a calc of? Do you have a good known example to check against?

Check your operations- calcs dependent on variables need to be below or to the right.

Your units are goofy. break out a pencil and paper and do the dimensional analysis to see how your calc is working, or really not working. SMath is REALLY good at keeping track of units. it is doing exactly what you are telling it to do.


Join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#4 Pubblicato: 17/11/2015 20:23:20
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

Seems that tanh(x) returns a "number above the max" error if x > 354, a "division by 0" error if x < -228 (reported as BUG SS-2284)

2015-11-18 00_13_26-SMath Studio Desktop - [Page1_].png

About the units, the tanh argument must be dimensionless; m*Lc can't be dimensionless because m is not the inverse of a length (your definition of m contains the Boltzmann constant and 2 lengths)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Pubblicato: 18/11/2015 04:40:35
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: Super Administrator

Hello.

I've fixed this issue and here is corrected SMath.Math.Numeric.dll SMath.Math.Numeric.dll.7z (25,23 KiB) scaricato 770 volta(e).
Please put it into installation directory of SMath Studio.

Fix will be included into new version of the program.

Regards.
4 utenti hanno apprezzato questo post
Davide Carpi 18/11/2015 05:18:00, sergio 18/11/2015 05:48:00, Radovan Omorjan 18/11/2015 06:22:00, ioan92 18/11/2015 09:16:00
  • Nuovi post
  • Nessun nuovo post