Simpson revival
|
09-29-2016, 10:27 PM
(This post was last modified: 09-29-2016 10:30 PM by Namir.)
Post: #9
|
|||
|
|||
RE: Simpson revival
A modified version of the BASIC program works if we have two tests:
If Abs(Z - W) <= P Then .... And If Abs(Z - (16 * Z - W) / 15) <= P Then ... I tested f(x)=1/X for integrals in [1,2], [1,10], and [1,100]. In each case the absolute value of the ratio of the error of the calculated integral divided by the error of the improved integral is in the order of 1000! I suggest omitting the first test altogether! Here is an updated Basic version that reflects Dieter's suggestion and my above comments: Code: 10 INPUT A Namir |
|||
« Next Oldest | Next Newest »
|
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: 1 Guest(s)