Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline CBG  
#1 Posted : 10 January 2018 02:15:33(UTC)
CBG


Rank: Advanced Member

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

Was thanked: 77 time(s) in 58 post(s)
This is a small example of the application of the Romberg Integration Method


Romberg_Method.sm (14kb) downloaded 44 time(s).



Best Regards

Carlos

Edited by user 10 January 2018 03:54:20(UTC)  | Reason: Not specified

thanks 1 user thanked CBG for this useful post.
on 10/01/2018(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 10 January 2018 05:49:22(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: CBG Go to Quoted Post
This is a small example of the application of the Romberg Integration Method


n = 20 [your original] ... Smath 6179 didn't stop in 5 minutes.
Can't explain such incompatibility between versions ?

Thanks
Offline Jean Giraud  
#3 Posted : 10 January 2018 07:06:23(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... this doctored version works 6179, but so prohibitive in computation time.
n = 20 1200 sec. Romberg is like Simpson => occasionally more accurate.
All in all, if I would have to chose the most useful integrator, the choice
is Adaptive [from years of working that kind of maths]
I lost the Mathcad code, can survive with Simpson Domain ... any kind of accuracy,
for any meshing 'n'.

Thanks Carlos, for your contribution.

Jean

Romberg_Method [Doctored 6179].sm (14kb) downloaded 21 time(s).

Offline CBG  
#4 Posted : 10 January 2018 19:18:19(UTC)
CBG


Rank: Advanced Member

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

Was thanked: 77 time(s) in 58 post(s)
By----Jean
n = 20 [your original] ... Smath 6179 didn't stop in 5 minutes.
Can't explain such incompatibility between versions.




With n = 20 on my PC the Algorithm takes 1 min 54.473 sec.
Being the same algorithm in different versions of the same program,
I guess the difference in time is given by the ability of the latest
software to take advantage of the power of the processor and the amount of RAM.

Obviously, the power and number of cores in the processor must also influence.

Regards

Carlos
Users browsing this topic
Guest
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.