u+v

v

u

u+v

i

h

g

i+h+g

i+h

g+h

(i+h)+g

(g+h)+i

i+h

h+g

   (i+h)+g=i+(h+g)
Propietat associativa

Suma de 2 vectors

Suma de 3 vectors

A = (-1, -3)
B_2 = (4, -9)
D = (-1, 7)
B = (-2, -8)
u = Vector(B, A)
v = Vector(B, B_2)
C' = Translate(B_2, u)
w = Vector(B_2, C')
poly1, c', c, b, a = Polygon(C', B_2, B, A)
z = Vector(B, C')
D' = Translate(D, v)
d = Vector(D, D')
D'' = Translate(D', u)
e = Vector(D', D'')
D'_1 = Translate(D, z)
f = Vector(D, D'_1)
E = (18, -7)
F = (25, -9)
G = (25, -5)
H = (20, -1)
I = (18.673063491393943, 6.68837400283775)
g = Vector(E, H)
h = Vector(E, G)
i = Vector(E, F)
I' = Translate(I, i)
j = Vector(I, I')
I'' = Translate(I', h)
k = Vector(I', I'')
I''' = Translate(I'', g)
l = Vector(I'', I''')
E_1: E + h + i
E_2: E + g + h
polígon1, e_1, f_1, e_2, g_1 = Polygon(E, F, E_1, G)
polígon2, e_3, h_1, e_4, g_2 = Polygon(E_2, H, E, G)
hig_2 = Vector(I, I''')
E_3: E + g + h + i
polígon4, e_8, e_9, e_{10}, f_2 = Polygon(E, E_2, E_3, F)
hi_1 = Vector(E, E_1)
gh = Vector(E, E_2)
hig_1 = Vector(E, E_3)
o = 6.3 (slider from 0 to 10, step 0.1)
r = Vector(E, E_3)
hi_2 = Vector(I, I'')
gh_2 = Vector(I', I''')
polígon3, e_5, e_6, e_7, h_2 = Polygon(E, E_1, E_3, H)
m = 3.9 (slider from 0 to 4, step 0.1)