SMath Studio Forum
»
SMath Studio
»
Questions
»
Operation cannot be performed with units and solution exceeding max allowed numerical values
Rank: Newbie
Groups: Registered
Joined: 17/11/2015(UTC) Posts: 1 Location: Florida
|
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 !
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 12/03/2011(UTC) Posts: 101 Location: Chicago
Was thanked: 16 time(s) in 7 post(s)
|
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.
|
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,725 Location: Italy Was thanked: 1393 time(s) in 909 post(s)
|
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) 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) Edited by user 18 November 2015 03:34:41(UTC)
| Reason: bug reported |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,636 Was thanked: 2007 time(s) in 677 post(s)
|
Hello. I've fixed this issue and here is corrected SMath.Math.Numeric.dll SMath.Math.Numeric.dll.7z (26kb) downloaded 113 time(s).Please put it into installation directory of SMath Studio. Fix will be included into new version of the program. Regards.
|
4 users thanked Andrey Ivashov for this useful post.
|
on 18/11/2015(UTC), on 18/11/2015(UTC), on 18/11/2015(UTC), on 18/11/2015(UTC)
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Operation cannot be performed with units and solution exceeding max allowed numerical values
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.