468,736 Members | 1,875 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,736 developers. It's quick & easy.

Nth term of a series

Hi,i am working on a c++ project which will find the nth term of a given series.The series would be given in the form of first 4 or 5 terms.I have the basic alogorithm which can find the nth term of a polynomial series given initial terms.The problem being tht the number of initial terms required is proportional to order of the series.So,as the order of polynomial series increases ,we need more number of initial terms.
I shall oblidge if anybody can provide me with a better algorithm or any other way to find the nth term of the series given only 4 or 5 initial terms!!
Sep 23 '08 #1
1 2762
JosAH
11,448 Expert 8TB
I'm sorry, that can't be done: for a polynomial of degree n you need at least n+1
discrete (x,y) samples to completely describe the polynomial. And then there
are the exponential or transcedental functions that connot be described by any
finite degree polynomial at all.

kind regards,

Jos
Sep 23 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

24 posts views Thread by Hung Jung Lu | last post: by
1 post views Thread by Sriram Krishnan [at] gmx [dot] net | last post: by
4 posts views Thread by aW | last post: by
1 post views Thread by Sriram Krishnan [at] gmx [dot] net | last post: by
4 posts views Thread by geoffp | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.