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
-
Return the largest number that is adjacent to a zero
5547 Solvers
-
10862 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14336 Solvers
-
721 Solvers
-
409 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!