producte per escalar
Author: Enric Brasó

Producte d'un escalar                    per un vector 

D = (-3, -2)
C = (-8, -4)
v = Vector(C, D)
k = 3.71 (slider from -5 to 5, step 0.01)
B': C + k * v
kv = Vector(C, B')
kk: k * k
text3: "\overrightarrow{v} = {\overrightarrow{ " + (LaTeX[v]) + "}}"
text1: "{\fgcolor{9400d3} {k}} ·{\fgcolor{0000ff} {\overrightarrow{ v }}}={\fgcolor{9400d3} {" + (LaTeX[k]) + "}} ·{\fgcolor{0000ff} {\overrightarrow{" + (LaTeX[v]) + "}}="
text4: " \overrightarrow{ " + (LaTeX[kv]) + "}"
r: random()