[algogeeks] Identify The f(x) :you are given a series of numbers(asked by MICROSOFT )?

2009-10-29 Thread Pawandeep
hello everyone , you are given a series of numbers like 2,4,6,8,10,12this is simple though nd u hve to identify that f(x) = x+ 2 for this series .. now can you write a program to identify the f(x) for any series of numbers.. // i know it is tough but don't say its not possible

[algogeeks] Re: Identify The f(x) :you are given a series of numbers(asked by MICROSOFT )?

2009-10-29 Thread Vladimir Reshetnikov
Any finite sequence of numbers can be matched by polynomial function. On Thu, Oct 29, 2009 at 3:19 PM, Pawandeep bhatti.pawand...@gmail.comwrote: hello everyone , you are given a series of numbers like 2,4,6,8,10,12this is simple though nd u hve to identify that f(x) = x+ 2