Sleep a of b om w een andere plaats te geven

Sleep Q om andere a en b te krijgen

u = (2, 4)
v = (-1, 1)
a = 0.5 (slider from -5 to 5, step 0.1)
b = -2.5 (slider from -5 to 5, step 0.1)
w: (a * u) + (b * v)
ul: (a * u)
vl: (b * v)
tekst1: a + "u"
A: ul
B: vl
tekst2: b + "v"
C: w
Q = (3.9822642509464607, 3.6019929691725276)
a_Q: (Q * OrthogonalVector[v] / ((u * OrthogonalVector[v])))
b_Q: (Q * OrthogonalVector[u] / ((v * OrthogonalVector[u])))
q: (a_Q * u) + (b_Q * v)
U: ul
W: w
z = Vector(U, W)
V: vl
k = Vector(V, W)
tekst7: "" + (LaTeX[a_Q]) + "u+" + (LaTeX[b_Q]) + "v=" + (LaTeX[Vector[Q]]) + ""
tekst3: "" + (LaTeX[a]) + "u+" + (LaTeX[b]) + "v=" + (LaTeX[w]) + ""