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

Problem 1155. Find the solution of algebraic equation

Created by HARISANKAR PS

Find the solution of algebraic equation of the form

an*x^n + a(n-1)*x^(n-1) + (an-2)*x^(n-2)+...... a2*x^2 + a1*x^1 + a0 = 0;

Input to the function is of the form : [an an-1 an-2 .....a2 a1 a0] :coef vector

eg: equation x^5-5=2 -> Input = [1 0 0 0 0 -5]

Problem Group

9 solvers submitted 35 solutions (3.89 solutions/solver).

Loading Solution Map...

Problem Comments