Result is above max. allowed positive number

Result is above max. allowed positive number - "result is above max. allowed positive number" - Messages

#1 Posted: 1/4/2019 1:06:11 AM
Sparweb

Sparweb

0 likes in 6 posts.

Group: User

Hi,
I have an error message that I can't figure out.
For the most part, I have been able to learn Smath on my own, despite the absence of any user manual, and only a few brief tutorials written by users themselves (Liengme and Urroz).
If there are any deeper manuals to recommend, I would be very happy to see links to them.
I am still relying very heavily on my long experience with Mathcad to pick this up - but it's a double-edged sword because Smath doesn't do all that Mathcad did.

One thing I would like is a list of error messages and their meaning. I can't find any references to this error expression on the SmathStudio website/forum. I could probably solve this for myself if I could find one. If I have missed an important source of information, I'm sorry, but please point me to the right place.

The file linked below is part of a very long analysis that's suddenly gone bad on me - no idea why.
Only the parts before the strange error are included. The rest is very very long.

Thank you (in advance) to everyone that can help.

I've also included a screen-capture of the offending expression:

ERROR.png

ERROR.sm (76 KiB) downloaded 36 time(s).
#2 Posted: 1/4/2019 2:24:27 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Use the eval function.
ERROReval.sm (80 KiB) downloaded 171 time(s).
#3 Posted: 1/4/2019 10:17:25 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Only the parts before the strange error are included.


Smath 6179 shows no error ... puzzling vs 6884 ?
HOW DO I ADD COLUMNS TO AN EXISTING MATRIX?
Like this attached.


Here is a Matrix Utilities Mining.

Cheers ... Jean

Cols_Rows.sm (37 KiB) downloaded 34 time(s).

Utilities Matrix Treasury_1.sm (390 KiB) downloaded 37 time(s).
#4 Posted: 1/4/2019 12:02:27 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... otherwise in the attached.

Cols_Rows.sm (46 KiB) downloaded 27 time(s).
#5 Posted: 1/5/2019 12:34:31 AM
CBG

CBG

77 likes in 312 posts.

Group: User

Another solution is to put the equation in numerical optimization mode,
and the error is eliminated.

Optimizatio_numeric.png


ERROReval_r1.sm (82 KiB) downloaded 27 time(s).


Best Regards


Carlos
2 users liked this post
frapuano 1/5/2019 11:11:00 AM, Jason McCool 10/10/2021 11:26:00 PM
#6 Posted: 1/5/2019 2:19:18 AM
Sparweb

Sparweb

0 likes in 6 posts.

Group: User

Wow,
Thanks to everyone for your help.

Firstly, I'm surprised that there's a simple solution to the expression that would not solve. It looks like I can globally select all the fields on a math page together and make sure they are all set to "numeric" just to make sure I haven't accidentally toggled something.
Not that I am clear on just what "symbolic" is for... presumably if I play with "symbolic" expressions I can get Smath to simplify an expression? If I was a math teacher, or a student, I can see how that would would be fun or helpful.

Secondly, thank you for volunteering the suggestions to augment the matrix for me. I was going to ask in a separate post... You guys are so quick!
Can you clarify, please: is there no way to simply add a row or a column to a matrix?
I can probably use the Insertcol() function, but if that's the way to go, then couldn't I use Augment() with the new columns?

Thanks again!
#7 Posted: 1/5/2019 2:25:23 AM
Sparweb

Sparweb

0 likes in 6 posts.

Group: User

I tried to click the "thank" button on the upper right, but it throws an error every time.

Jean, Ber7, CBG, know that I would if I could.
#8 Posted: 1/5/2019 2:47:48 AM
Sparweb

Sparweb

0 likes in 6 posts.

Group: User

Thinking laterally...

I created a fresh SM sheet, and put a single new 14x6 matrix in it, with no values filled in.

I then opened it in Notepad, and also opened in Notepad the SM sheet with the incomplete 14x4 matrix.

I was then able to cut-and-paste some of the values from one to the other. Where the element value is a simple decimal value in markup, it was easy to identify the correct lines. When the element is a composite of operands and operators for the values with exponents and units, it's not so clear, so I didn't try copying them. But it would be possible, if I thought it would save time.

I also noticed that I could Find-Replace all the blank fields in the matrix (shown as "#" in the raw file) with "0". The Notepad method is faster than typing them all in 58 times.

Quote




Material
1.5
#
...
0
14
6
mat
:



With a matrix having >50 elements, this approach may save time do tedious re-typing of values, and definitely avoid typing errors (a SERIOUS ISSUE for me!).
#9 Posted: 1/5/2019 12:01:17 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I tried to click the "thank" button on the upper right, but it throws an error every time.



Many have reported not working for them. However, many times I have been "thanked"
Few more things:
1. The function replace(A,B,r,c) is an essential component in Image Processing.
2. You mentioned a long project ... Oh ! ... in that case is it wise to save
a copy and work alternately on either one. Smath likes crashing and if so,
the project is gone for ever !!!
3. Yes: you can augment/stack as in the attached.
4. Unless the project is naturally all "Numeric" compatible, you have to
consider Symbolic/None as applicable by part. By default, a new work sheet
is in Numeric mode.

Cheers ... Jean

Page2.sm (19 KiB) downloaded 47 time(s).

  • New Posts New Posts
  • No New Posts No New Posts