Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0.
p(x)=1+x+x^2+...+x^n
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers104
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5823 Solvers
-
2565 Solvers
-
07 - Common functions and indexing 2
423 Solvers
-
375 Solvers
-
Find my daddy long leg (No 's')
2864 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!