Simpson Recursive Adaptive

Simpson Recursive Adaptive - Simpson Recursive Adaptive Integral Method - Messages

#1 Posted: 10/8/2019 5:58:48 PM
CBG

CBG

77 likes in 312 posts.

Group: User

Hello

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

Adaptive_Recursive_Simpson_SS6179.sm (13 KiB) downloaded 79 time(s).


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 KiB) downloaded 68 time(s).

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
1 users liked this post
frapuano 10/8/2019 11:51:00 PM
#2 Posted: 10/8/2019 10:24:13 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 72 time(s).
#3 Posted: 10/9/2019 3:58:08 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: 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 Posted: 10/9/2019 4:33:09 AM
sergio

sergio

115 likes in 329 posts.

Group: 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 Posted: 10/9/2019 11:03:38 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 10/9/2019 11:35:47 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: 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 Posted: 10/9/2019 1:11:09 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 10/11/2019 8:24:36 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 68 time(s).
  • New Posts New Posts
  • No New Posts No New Posts