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

Learn moreOpportunities for recent engineering grads.

Apply TodayFind 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]

14 correct solutions
32 incorrect solutions

Last solution submitted on Nov 08, 2014

4 Comments