Cody

Problem 42692. Polynomial Evaluation

Created by Md Tariqul Islam in Community

Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of x to compute its value at, and return the value of the polynomial at that value using Horner's Rule.

For example: A fast scheme for evaluating a polynomial such as:

when

is to arrange the computation as follows:

N.B. Problem has been taken from Rosetta Code

Solution Stats

67.16% Correct | 32.84% Incorrect
Last solution submitted on Sep 01, 2018

Problem Comments

Recent Solvers34

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!