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 - 消息

#1 已发布: 2015/11/17 14:47:22
aero

aero

0个赞,共12个帖子。

组: 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 已发布: 2015/11/17 17:01:25
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

Post the file.
#3 已发布: 2015/11/17 17:07:51
dio pants

dio pants

16个赞,共180个帖子。

组: 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 已发布: 2015/11/17 20:23:20
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2015/11/18 04:40:35
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Hello.

I've fixed this issue and here is corrected SMath.Math.Numeric.dll SMath.Math.Numeric.dll.7z (25.23 KiB)已下载 774 次。
Please put it into installation directory of SMath Studio.

Fix will be included into new version of the program.

Regards.
4位用户喜欢此帖子
Davide Carpi 2015/11/18 05:18:00, sergio 2015/11/18 05:48:00, Radovan Omorjan 2015/11/18 06:22:00, ioan92 2015/11/18 09:16:00
  • 有新帖
  • 无新帖