Post Reply 
Simpson revival
09-30-2016, 06:00 AM (This post was last modified: 09-30-2016 06:07 AM by Dieter.)
Post: #10
RE: Simpson revival
(09-29-2016 10:27 PM)Namir Wrote:  A modified version of the BASIC program works if we have two tests:

If Abs(Z - W) <= P Then

This compares the old and new Simpson result. As you already said, this test is obsolete.

(09-29-2016 10:27 PM)Namir Wrote:  If Abs(Z - (16 * Z - W) / 15) <= P Then
...

This compares the last Simpson result and the last improved approximation. Does this make sense?

(09-29-2016 10:27 PM)Namir Wrote:  I suggest omitting the first test altogether!

The test should compare the last and previous improved approximations, cf. the posted VBA code. In your program that's the current and previous value of Y.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Simpson revival - Pekis - 09-28-2016, 08:04 AM
RE: Simpson revival - Namir - 09-28-2016, 10:40 AM
RE: Simpson revival - Dieter - 09-28-2016, 12:25 PM
RE: Simpson revival - Namir - 09-28-2016, 02:00 PM
RE: Simpson revival - Namir - 09-28-2016, 03:50 PM
RE: Simpson revival - Dieter - 09-28-2016, 10:00 PM
RE: Simpson revival - Albert Chan - 07-31-2018, 02:57 PM
RE: Simpson revival - Namir - 09-29-2016, 04:44 PM
RE: Simpson revival - Dieter - 09-29-2016, 06:23 PM
RE: Simpson revival - Namir - 09-29-2016, 10:27 PM
RE: Simpson revival - Dieter - 09-30-2016 06:00 AM
RE: Simpson revival - Dieter - 10-02-2016, 03:29 PM
RE: Simpson revival - Namir - 10-02-2016, 04:48 PM
RE: Simpson revival - Namir - 10-09-2016, 03:14 AM
RE: Simpson revival - Albert Chan - 08-04-2018, 05:29 PM



User(s) browsing this thread: 5 Guest(s)