Discover MakerZone

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

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!

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

Solution Statistics

17 correct solutions 41 incorrect solutions
Last solution submitted on Mar 05, 2016

Problem Comments