Simpson Recursive Adaptive

Simpson Recursive Adaptive - Simpson Recursive Adaptive Integral Method - Poruke

#1 Objavljeno: 8. 10. 2019. 17:58:48
CBG

CBG

78 svidjanja u 312 postova.

Grupa: User

Hello

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

Adaptive_Recursive_Simpson_SS6179.sm (13,29 KiB) preuzeto 1371 put(ova).


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) preuzeto 1344 put(ova).

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 korisnika je svidelo ovu objavu
frapuano 8. 10. 2019. 23:51:00
#2 Objavljeno: 8. 10. 2019. 22:24:13
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1170 put(ova).
#3 Objavljeno: 9. 10. 2019. 03:58:08
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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 Objavljeno: 9. 10. 2019. 04:33:09
sergio

sergio

127 svidjanja u 342 postova.

Grupa: 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 Objavljeno: 9. 10. 2019. 11:03:38
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 9. 10. 2019. 11:35:47
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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 Objavljeno: 9. 10. 2019. 13:11:09
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 11. 10. 2019. 20:24:36
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1409 put(ova).
  • Novi postovi
  • Nema novih postova