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 Solvers103
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6800 Solvers
-
Return elements unique to either input
812 Solvers
-
441 Solvers
-
800 Solvers
-
Rotate a matrix for 180 degree
218 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!