+11

# 👑Challenge :- Predict The Next Term..*⃣🔢

⏩User input :- a Polynomial Series (Note :- if you wanna code for non-polynomials also, effort will be appreciated.) ⏩Output should be the next term of series Examples 1. Input :- 1 4 9 16 It is (x^2) series so output next term should be 25 2. Input :- 4 8 12 16 20 It is linear series so next term should be 24 3. Input :- 10 29 66 127 It is following (x^3+2) series so next term is 218 My trial for Polynomial Series is here👇 Now It's your turn....😉.♍ https://code.sololearn.com/cex6HhL5rLqQ/?ref=app

2/19/2018 5:51:49 PM

Zoetic Zeel

+13

https://code.sololearn.com/cuyaA3R587K7/?ref=app

+7

uff! okaaaaaay......

+3

@Nashat As per my algorithm for this type of Polynomial Series, if want to know how to do this in any language, you should just know basic mathematic operations and may be some functional approach

+3

My solution (using difference table) https://code.sololearn.com/WsDNv5PpHGGh/?ref=app

+2

https://code.sololearn.com/cmlg4y9lR7k2/?ref=app https://code.sololearn.com/cD4WWIrm8WyQ/?ref=app

+2

this is a job for my oneliner serialkiller https://code.sololearn.com/cp6R8YOYNn4Q/?ref=app

0

Somebody please tell me, how can I do this in Java!!!