Found an interesting simple approximation for the integral of a function
|
06-18-2021, 01:29 PM
(This post was last modified: 06-18-2021 05:12 PM by Namir.)
Post: #6
|
|||
|
|||
RE: Found an interesting simple approximation for the integral of a function
(06-18-2021 12:08 PM)Albert Chan Wrote:(06-18-2021 05:13 AM)Namir Wrote: In the absence of a name, I am calling this type of algorithm, the Quasi Trapezoidal method. Sounds like you are talking about combining the two versions of the Quasi-Trapezoidal method to end up with a four-point Quasi Simpson 3/8 method[. I went ahead and combined the two versions Quasi Trapezoidal methods and indeed came out with something that looks like SImpsin's 3/8 rule. Here is the Mini Python code for the whole thing: Code: from math import * The output is: Code:
Showing that the Quasi Simpson 3/8 does better than the other two methods, as expected. Namir |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Found an interesting simple approximation for the integral of a function - Namir - 06-15-2021, 09:16 PM
RE: Found an interesting simple approximation for the integral of a function - ttw - 06-18-2021, 12:01 AM
RE: Found an interesting simple approximation for the integral of a function - Albert Chan - 06-18-2021, 12:52 AM
RE: Found an interesting simple approximation for the integral of a function - Namir - 06-18-2021, 05:13 AM
RE: Found an interesting simple approximation for the integral of a function - Albert Chan - 06-18-2021, 12:08 PM
RE: Found an interesting simple approximation for the integral of a function - Namir - 06-18-2021 01:29 PM
|
User(s) browsing this thread: 1 Guest(s)