Re: Limit Guessing Algorithm

2007-12-03 Thread Gordon C
One of the difficulties of this kind of a problem is that one is looking for a solution to a limited number of data points for which it may be possible to define a function. There can never be a guarantee that the chosen "fit" can be reliably extrapolated. You need to tie a possible solution to

Re: Limit Guessing Algorithm

2007-12-03 Thread Albert Retey
Hi, > > I'm looking for a piece of code, preferably in Python, that will do > the following. It will accept a few data points (x,f(x)) of a function > that converges to some finite value when x converges to infinity. I > need the algorithm to guess what that limit is, to whatever precision > it ca

Re: Limit Guessing Algorithm

2007-12-02 Thread [EMAIL PROTECTED]
On Dec 3, 1:33 am, Roberto Bonvallet <[EMAIL PROTECTED]> wrote: > On Dec 2, 5:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > It will accept a few data points (x,f(x)) of a function > > that converges to some finite value when x converges to infinity. I > > need the algorithm to guess

Re: Limit Guessing Algorithm

2007-12-02 Thread Roberto Bonvallet
On Dec 2, 5:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > It will accept a few data points (x,f(x)) of a function > that converges to some finite value when x converges to infinity. I > need the algorithm to guess what that limit is. Since there are an infinity of ways to estimate the li

Re: Limit Guessing Algorithm

2007-12-02 Thread [EMAIL PROTECTED]
On Dec 3, 12:02 am, Paul Rubin wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > > I think I understood the question. It sounds like a numerical methods > > > homework problem. Basically you have f(x0), f(x1), etc. and you want > > > to extrapolate to x=infin

Re: Limit Guessing Algorithm

2007-12-02 Thread Paul Rubin
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > I think I understood the question. It sounds like a numerical methods > > homework problem. Basically you have f(x0), f(x1), etc. and you want > > to extrapolate to x=infinity. Hint: think of a0=1/x0, a1=1/x1, etc. > > so your initial data is f

Re: Limit Guessing Algorithm

2007-12-02 Thread [EMAIL PROTECTED]
On Dec 2, 11:50 pm, Paul Rubin wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > > Look under "limits" in the table of contents. > > > I'm a third year math undergrad. You probably did not understand my > > question. > > I think I understood the question. It s

Re: Limit Guessing Algorithm

2007-12-02 Thread Paul Rubin
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > Look under "limits" in the table of contents. > > I'm a third year math undergrad. You probably did not understand my > question. I think I understood the question. It sounds like a numerical methods homework problem. Basically you have f(x0),

Re: Limit Guessing Algorithm

2007-12-02 Thread [EMAIL PROTECTED]
On Dec 2, 10:53 pm, Roy Smith <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, > > > > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Hello hello, > > > I'm looking for a piece of code, preferably in Python, that will do > > the following. It will accept a few data points (x,f(x)

Re: Limit Guessing Algorithm

2007-12-02 Thread Roy Smith
In article <[EMAIL PROTECTED]>, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello hello, > > I'm looking for a piece of code, preferably in Python, that will do > the following. It will accept a few data points (x,f(x)) of a function > that converges to some finite value when x converges t

Limit Guessing Algorithm

2007-12-02 Thread [EMAIL PROTECTED]
Hello hello, I'm looking for a piece of code, preferably in Python, that will do the following. It will accept a few data points (x,f(x)) of a function that converges to some finite value when x converges to infinity. I need the algorithm to guess what that limit is, to whatever precision it can.