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
-
2530 Solvers
-
Compute a dot product of two vectors x and y
1053 Solvers
-
Longest run of consecutive numbers
6627 Solvers
-
What is Sum Of all elements of Matrix
447 Solvers
-
189 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!