% Harjutustund 9, ylesanne 6
x=[-1,0,1,2];
y=[3,-4,5,-6];
plot(x,y,'o')
a=conv([1,0],[1,-1])
b=conv(a,[1,-2])
% x^3-3x^2+2x

p1=poly([0,1,2])
p2=poly([-1,1,2])
p3=poly([-1,0,2])
p4=poly([-1,0,1])

roots([1 -2 -7 -2 -8])
