exponential function error

exponential function error - Result is above the max. allowed positive number error - Mensajes

#1 Publicado: 9/8/2019 8:17:45
MSL

MSL

1 me gusta en 22 mensajes.

Grupo: User

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.

my error


exponential_max_err_v0.sm (12,83 KiB) descargado 1161 vez(es).
#2 Publicado: 9/8/2019 10:09:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

How I resolve this kind of errors?


... like this: index 'j' to de-confuse 'i' imaginary.

exponential_max_err_v0.sm (12,26 KiB) descargado 1151 vez(es).
#3 Publicado: 10/8/2019 0:44:37
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

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:

Clipboard1.gif

Whith this other version you can do both things:

Clipboard2.gif

Hope that this helps.

exponential_max_err_v0.sm (13,37 KiB) descargado 1201 vez(es).

Best regards.
Alvaro.
#4 Publicado: 10/8/2019 9:08:37
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... more doctoring in the *.sm attached
1. local definition mode
2. index piece wise

ExpTest.PNG

exponential_max_err_v0 (1).sm (24,22 KiB) descargado 1179 vez(es).
#5 Publicado: 10/8/2019 9:39:30
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 ...]

ExpLocalDefinition.PNG

Remember Alvaro: you doctored my Barnes Hypergeometric !
#6 Publicado: 12/8/2019 23:43:12
MSL

MSL

1 me gusta en 22 mensajes.

Grupo: User

Thank you your replies.
But I have a still same problem.
Here are another sample file.
exponential_max_err_v03.png
exponential_max_err_v03.sm (18,91 KiB) descargado 1182 vez(es).

#7 Publicado: 13/8/2019 1:08:10
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi. Yes, it's hard to drive those calculations. Try to avoid sum(1) too:

Clipboard1.gif

Best regards.
Alvaro
A 1 usuarios les gustó este mensaje
MSL 13/8/2019 11:09:00
#8 Publicado: 13/8/2019 4:13:24
alisonparker

alisonparker

0 me gusta en 2 mensajes.

Grupo: User

Wrote

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.

my error


exponential_max_err_v0.sm (12,83 KiB) descargado 1161 vez(es).



I am getting error "Result is above max allowed positive number",too! And l don't know how to solve it.Function error
#9 Publicado: 13/8/2019 4:35:54
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: Moderator

Hello,

I think something is wrong here in the numeric/symbolic engine of SMath which causes those errors.
Version "0.99.7109"

flaoting point.png

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
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#10 Publicado: 13/8/2019 9:49:55
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 !


#11 Publicado: 13/8/2019 11:03:24
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 (17,79 KiB) descargado 1148 vez(es).



#12 Publicado: 13/8/2019 11:08:02
MSL

MSL

1 me gusta en 22 mensajes.

Grupo: User

Dear jean,


I'm just doing the calculation of an ANS standard example.

Fa_calc.PNG

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
#13 Publicado: 13/8/2019 11:34:52
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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

#14 Publicado: 13/8/2019 13:08:21
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: Moderator

Wrote

Wrote

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 (17,79 KiB) descargado 1148 vez(es).



Still confused...

smallnumbers.png

exponential_max_err_v03-corr.sm (31,47 KiB) descargado 1180 vez(es).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#15 Publicado: 13/8/2019 16:19:16
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Still confused...


Doctored a bit SS 6179 ... No red in No time.

exponential_max_err_v03-corr.sm (32,81 KiB) descargado 1163 vez(es).

#16 Publicado: 13/8/2019 17:03:20
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Doctored a bit SS 6179 ... No red in No time.


... from there => what's next step ?

fromThere.PNG

exponential_max_err_v03-corr [Next].sm (39,26 KiB) descargado 1023 vez(es).
#17 Publicado: 13/8/2019 21:27:11
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

... from there what's next =


... does the suite in green makes sense ?

Conert2maths.PNG

That mystic formula has to be put in executable maths

exponential_max_err_v03-corr [Next-Suite].sm (160,47 KiB) descargado 1078 vez(es).
#18 Publicado: 14/8/2019 1:17:41
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

That mystic formula has to be put in executable maths


Please, check my interpretation.

fissileStem.PNG

exponential_max_err_v03-corr [Next-Suite].sm (185,37 KiB) descargado 1013 vez(es).
#19 Publicado: 14/8/2019 3:20:01
Radovan Omorjan

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: Moderator

Wrote

Wrote

Still confused...


Doctored a bit SS 6179 ... No red in No time.

exponential_max_err_v03-corr.sm (32,81 KiB) descargado 1163 vez(es).


Still red for me...

stillred.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#20 Publicado: 14/8/2019 10:04:59
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 (133,59 KiB) descargado 1128 vez(es).

  • Nuevos mensajes
  • Sin mensajes nuevos