Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline CBG  
#1 Posted : 08 October 2019 23:58:48(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 222

Was thanked: 46 time(s) in 34 post(s)
Hello

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

Adaptive_Recursive_Simpson_SS6179.sm (14kb) downloaded 16 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 (15kb) downloaded 7 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

Edited by user 09 October 2019 00:51:23(UTC)  | Reason: Include the file for version SS-7219 with a major error

thanks 1 user thanked CBG for this useful post.
on 09/10/2019(UTC)
Offline Jean Giraud  
#2 Posted : 09 October 2019 04:24:13(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,976
Canada

Was thanked: 709 time(s) in 555 post(s)
Originally Posted by: CBG Go to Quoted Post
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 (30kb) downloaded 19 time(s).
Offline omorr  
#3 Posted : 09 October 2019 09:58:08(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,730
Man
Serbia

Was thanked: 311 time(s) in 265 post(s)
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 (793kb) downloaded 23 time(s).

This does not happen to my Win10 machine.

Regards,
Radovan

Edited by user 09 October 2019 10:19:11(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline PompelmoTell  
#4 Posted : 09 October 2019 10:33:09(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 173
Italy
Location: italy

Was thanked: 68 time(s) in 56 post(s)
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
Offline Jean Giraud  
#5 Posted : 09 October 2019 17:03:38(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,976
Canada

Was thanked: 709 time(s) in 555 post(s)
Originally Posted by: omorr Go to Quoted Post
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.
Offline omorr  
#6 Posted : 09 October 2019 17:35:47(UTC)
omorr


Rank: Administration

Groups: Registered, Administrators, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,730
Man
Serbia

Was thanked: 311 time(s) in 265 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: omorr Go to Quoted Post
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 (809kb) downloaded 10 time(s).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Jean Giraud  
#7 Posted : 09 October 2019 19:11:09(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,976
Canada

Was thanked: 709 time(s) in 555 post(s)
Originally Posted by: omorr Go to Quoted Post
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.

Offline Jean Giraud  
#8 Posted : 12 October 2019 02:24:36(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,976
Canada

Was thanked: 709 time(s) in 555 post(s)
... 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 (478kb) downloaded 9 time(s).
Users browsing this topic
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.