Simpson Recursive Adaptive

Simpson Recursive Adaptive - Simpson Recursive Adaptive Integral Method - Mensajes

#1 Publicado: 8/10/2019 17:58:48
CBG

CBG

78 me gusta en 312 mensajes.

Grupo: User

Hello

Here is an example of integration using the Simpson recursive adaptive method.

Adaptive_Recursive_Simpson_SS6179.sm (13,29 KiB) descargado 1331 vez(es).


On the other hand, when running the algorithm in the versions of Smath Studio 6179 and 7219,
I realize that the SS-6179 version is more accurate than the current SS-7219, since the
first one allows an error of 0.000000001, while the latter only allows an error of 0.000001

Adap_Recursive_Method.png

Adaptive_Recursive_Simpson_SS7219.sm (14,55 KiB) descargado 1289 vez(es).

The SS-7219 version cannot calculate the function with an error of less than 0.000001 to achieve greater accuracy.

Are we going back?

Best Regards

Carlos
A 1 usuarios les gustó este mensaje
frapuano 8/10/2019 23:51:00
#2 Publicado: 8/10/2019 22:24:13
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

On the other hand, when running the algorithm in the versions of Smath Studio 6179 and 7219,
I realize that the SS-6179 version is more accurate than the current SS-7219, since the
first one allows an error of 0.000000001, while the latter only allows an error of 0.000001


My native SS 6179 supports ε:=0.0000000000001
@ equivalent accuracy, Romberg-Simpson kernel runs ~ 8 times faster.
Most puzzling from version to version
On my slow laptop:
Romberg-Simpson ..... 12 s
Simpson recursive ... 96 s
Simpson kernel in Romberg range [0..1] at decimation [n]
is most valuable on large range of the integration variate 'x'.

Thanks Carlos, most interesting ... Jean.

Integrate Companion [Technical Accuracy Carlos Recursive].sm (29,14 KiB) descargado 1135 vez(es).
#3 Publicado: 9/10/2019 3:58:08
Radovan Omorjan

Radovan Omorjan

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

Grupo: Moderator

Strange thing happened to my Win7 machine (SMath 7219) and both files (by Carlos and Jean).

Running both files will just close SMath without any warning.
See this animated gif please.

closesm.gif

This does not happen to my Win10 machine.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#4 Publicado: 9/10/2019 4:33:09
sergio

sergio

127 me gusta en 342 mensajes.

Grupo: User

On my machine win 7 (PRO 64bit) does not experience the problem of Radovan. Instead, I confirm the problem with the minimum precision value assigned

sergio
#5 Publicado: 9/10/2019 11:03:38
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Strange thing happened to my Win7 machine (SMath 7219) and both files (by Carlos and Jean).


What about separate each integrator and run 7219 ?
I guess you have tried. So, your Win 7 is kookoo.
#6 Publicado: 9/10/2019 11:35:47
Radovan Omorjan

Radovan Omorjan

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

Grupo: Moderator

Wrote

Wrote

Strange thing happened to my Win7 machine (SMath 7219) and both files (by Carlos and Jean).


What about separate each integrator and run 7219 ?
I guess you have tried. So, your Win 7 is kookoo.



Hello Jean,

Int() is going well but AdapRecursive() makes SMath to shut down when decreasing epsilon on my "kookoo" Win7

See this animated gif please.

closesm1.gif

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#7 Publicado: 9/10/2019 13:11:09
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Int() is going well but AdapRecursive() makes SMath to shut down when decreasing epsilon on my "kookoo" Win7


Conclusion: Recursive code complains foo low epsilon.
But, that's what Carlos observed, isn't it ?
You may have to first define Recursive as a wild algo,
then insert parameters.

#8 Publicado: 11/10/2019 20:24:36
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... download the MASTER Toolbox, updated a minute ago.
All my projects are based on those utilities.
Competitive with Mathcad/Mathsoft, Wolfram Alpha.
Here is ...

Integral 00000000 MASTER ToolBox Copy.sm (477,06 KiB) descargado 1371 vez(es).
  • Nuevos mensajes
  • Sin mensajes nuevos