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

66.88% Correct | 33.12% Incorrect
Last Solution submitted on Dec 17, 2024

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers99

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