Simple polynomial evaluation - MATLAB Cody - MATLAB Central

Problem 43017. Simple polynomial evaluation

Difficulty:Rate

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

67.09% Correct | 32.91% Incorrect
Last Solution submitted on Apr 06, 2025

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers100

Suggested Problems

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!
Go to top of page