%uppg1.8

%   x^3 + 2x^2 + 3x + 1
x1= roots([1 2 3 1])

%   5x^5 + 3x^4 + 1.5x^3 +2x + 4
x2 = roots([5 3 1.5 0 2 4])

%   3x^8 + 1
x3 = roots([3 0 0 0 0 0 0 0 1])