sqrt(21 + 20i)
(-1)^(1/3)
sqrt(3)/2
p = [1 0 0 -1]
roots(p)
p1 = [1 0 0 -1]
p2 = [1 -3 3 -1]
roots(p2)
p = conv(p1,p2)
roots(p)
[q,r] = deconv(p1,p2)
conv(q,p2) + r
p1
polyder(p1)
polyint(ans)
x = linspace(-3,3)$
x = linspace(-3,3);
y = polyval(p1,x);
plot(x,y)
grid on
triangolo = [1+i 4+2i 3+4i 1+i]
plot(triangolo)
axis('equal')
hold on
z = cos(pi/3) + i*sin(pi/3)
plot(z*triangolo, 'r')
% girare il triangolo per 123 gradi
w = cos(123*pi/180) + i*sin(123*pi/180)
plot(w*triangolo, 'g')
quit
# Octave 3.6.4, Mon Oct 21 13:00:19 2013 W. Europe Daylight Time <unknown@achilles-TOSH>

