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
-
Which values occur exactly three times?
5253 Solvers
-
1717 Solvers
-
Remove the small words from a list of words.
1566 Solvers
-
951 Solvers
-
Sum the numbers on the main diagonal
620 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!