+ 15
👑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
6 Réponses
+ 15
https://code.sololearn.com/cuyaA3R587K7/?ref=app
+ 8
uff! okaaaaaay......
+ 4
@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
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!!!