By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,144 Members | 972 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,144 IT Pros & Developers. It's quick & easy.

Nth term of a series

P: 9
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
Share this Question
Share on Google+
1 Reply

Expert 10K+
P: 11,448
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,

Sep 23 '08 #2

Post your reply

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