\vec{v}=k·\vec{u}

\vec{v}=(k·u_1;k·u_2)

1) Pohybujte posuvníkem
2) Pohybujte bodem B
3) Klikněte na tlačítko -závěr 

\vec{u}

\vec{v}=k·\vec{u}

u_1

u_2

k·u_1

k·u_2

Závěr

A = (0, 0)
B = (3, 2)
u = Vector(A, B)
k = 1.5 (slider from -2 to 2, step 0.1)
v: k * u
u_1: x(u)
u_2: y(u)
v_1: x(v)
v_2: y(v)
text3: "\vec{v}=(" + (LaTeX[v_1]) + ";" + (LaTeX[v_2]) + ")"
text2: "\vec{u}=(" + (LaTeX[u_1]) + ";" + (LaTeX[u_2]) + ")"
C = Midpoint(A, B)
B' = Dilate(B, k, A)
D = Midpoint(A, B')
b = OrthogonalLine(B, xAxis)
E = Intersect(b, xAxis)
c = OrthogonalLine(B', xAxis)
F = Intersect(c, xAxis)
d = Segment(B', F)
e = Segment(F, A)
f = Segment(B, E)
g = Segment(A, E)
G = Midpoint(A, E)
H = Midpoint(E, B)
I = Midpoint(B', F)
J = Midpoint(A, F)
a = false