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 - Messages

#1 Posted: 11/17/2015 2:47:22 PM
aero

aero

0 likes in 12 posts.

Group: 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 Posted: 11/17/2015 5:01:25 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

Post the file.
#3 Posted: 11/17/2015 5:07:51 PM
Dionysios J. Pantazis

Dionysios J. Pantazis

16 likes in 179 posts.

Group: 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 Posted: 11/17/2015 8:23:20 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 11/18/2015 4:40:35 AM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3731 posts.

Group: Super Administrator

Hello.

I've fixed this issue and here is corrected SMath.Math.Numeric.dll SMath.Math.Numeric.dll.7z (25 KiB) downloaded 133 time(s).
Please put it into installation directory of SMath Studio.

Fix will be included into new version of the program.

Regards.
4 users liked this post
Davide Carpi 11/18/2015 5:18:00 AM, sergio 11/18/2015 5:48:00 AM, Radovan Omorjan 11/18/2015 6:22:00 AM, ioan92 11/18/2015 9:16:00 AM
  • New Posts New Posts
  • No New Posts No New Posts