Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Dear masters, I'got the error, "Result is above the max. allowed positive number error" during exponential calculation. How I resolve this kind of errors? Thank you! M.S. exponential_max_err_v0.sm (13kb) downloaded 19 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Novice How I resolve this kind of errors? ... like this: index 'j' to de-confuse 'i' imaginary. exponential_max_err_v0.sm (13kb) downloaded 15 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: Novice Dear masters,
I'got the error, "Result is above the max. allowed positive number error" during exponential calculation.
How I resolve this kind of errors?
Hi. Summatorie ranged have some issues. For instance, the range variable isn't local. With eval you can get punctual results, but this version can't be plotted, and I don't know why: Whith this other version you can do both things: Hope that this helps. exponential_max_err_v0.sm (14kb) downloaded 13 time(s).Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Razonar but this version can't be plotted, and I don't know why: ... code this to the previous doctored document. Summation operator is very capricious, but works and plot scalar as demonstrated. Plot scalar for lot more involved stuff [Budapest 39, Legendere ...] Remember Alvaro: you doctored my Barnes Hypergeometric !
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Thank you your replies. But I have a still same problem. Here are another sample file. exponential_max_err_v03.sm (19kb) downloaded 11 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. Yes, it's hard to drive those calculations. Try to avoid sum(1) too: Best regards. Alvaro
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 09/08/2019(UTC) Posts: 2 Location: London
|
Originally Posted by: Novice Dear masters, I'got the error, "Result is above the max. allowed positive number error" during exponential calculation. How I resolve this kind of errors? Thank you! M.S. exponential_max_err_v0.sm (13kb) downloaded 19 time(s). I am getting error "Result is above max allowed positive number",too! And l don't know how to solve it.
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, I think something is wrong here in the numeric/symbolic engine of SMath which causes those errors. Version "0.99.7109" I can not understand this . The error message is quite confusing. The result is quite a small number close to zero. On the other hand, by mouse hoovering the vector it could be seen the fraction presentation of the numbers (symbolic engine) with quite large numbers in the denominator. Therefore the message about max. allowed positive numbers. I think something is wrong in the floating point arithmetic in SMath numerical engine or at least quite problematic. It seems that eval() must be used extensively in order to escape from these traps and to avoid the symbolic engine to make a mess here. Regards, Radovan Edited by user 13 August 2019 12:36:49(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Novice Thank you your replies. But I still have same problem. Hello Novice ... I can't see what you are attempting. Are you trying to fit a model function to a data set ? If so: just attach the data set, some smart cat will exercise. A maths document that has no hint about ... Oh !
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: omorr I think something is wrong here in the numeric/symbolic engine of SMath which causes those errors. Version "0.99.7109" From observation in many more SS 7109, the indexing is freaked. Doctored in pink SS 6179. exponential_max_err_v03.sm (18kb) downloaded 7 time(s).
|
|
|
|
Rank: Member Groups: Registered
Joined: 15/05/2016(UTC) Posts: 22 Location: Daejeon Was thanked: 1 time(s) in 1 post(s)
|
Dear jean, I'm just doing the calculation of an ANS standard example. I think this problem is a kind of overflow of exponential function. As you know if X is greater than the 709.783 then the value of exp(X) is overflown. So I believe that SMath should do something to check the nominal boundaries of special functions (exponential, logarithmic etc.) Thank you! regards, MS Edited by user 14 August 2019 03:57:06(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Novice I think this problem is a kind of overflow of exponential function. As you know if X is greater than the 709.783 then the value of exp(X) is overflown. So I believe that SMath should do something to check the nominal boundaries of special functions (exponential, logarithmic etc.) Thank you! Thanks for the hint. Functions that overflow can be managed otherwise. About that project, just give the X,Y data you want to fit. Smath reports overflow as "max value ..." All those math functions aren't Smath, rather from numerical library as implemented in Microsoft and other maths tools. Ah! I can see XY pairs coming soon. Cheers ... Jean
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: omorr I think something is wrong here in the numeric/symbolic engine of SMath which causes those errors. Version "0.99.7109" From observation in many more SS 7109, the indexing is freaked. Doctored in pink SS 6179. exponential_max_err_v03.sm (18kb) downloaded 7 time(s). Still confused... exponential_max_err_v03-corr.sm (32kb) downloaded 10 time(s). |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: Jean Giraud ... from there what's next = ... does the suite in green makes sense ? That mystic formula has to be put in executable maths exponential_max_err_v03-corr [Next-Suite].sm (161kb) downloaded 9 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: Jean Giraud Still red for me... |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: omorr Still red for me... Radovan, mon ami ... you must feel Sysyphus on that boulder ! I figure the all project is as simple as in the attached SS 6179. Novice didn't give enough ... wait and see. On the other hand your red is for Grand Doctor Andrey. Jean Fission.sm (134kb) downloaded 12 time(s).
|
|
|
|
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.