% coefficients for the polynomial x^3 - 7 x^2 + 2 x -17
p = [1, -7, 2, -17]

x = linspace(-2,10);
y = polyval(p,x);
plot(x,y)

roots(p)
