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
-
2180 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3677 Solvers
-
Project Euler: Problem 3, Largest prime factor
1790 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
Calculate the area of a triangle between three points
3425 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!