Author: Daniel Mentrard

\vec{u}

 \vec{ v } =

 \vec{ v } = \alpha .  \vec{ u } 

Source initiale : http://dmentrard.free.fr/GEOGEBRA/

Multiplication d'un vecteur par un scalaire

α = 7 (slider from -10 to 10, step 0.1)
B = (4.895833333333331, 4.825)
A = (3.0624999999999973, 5.329166666666668)
mu = Distance(A, B)
mv = If(α > 0, (mu * α), ((-mu) * α))
u = Vector(A, B)
C = Intersect(xAxis, yAxis)
c = Circle(C, mv)
a = Line(C, u)
E, F = Intersect(c, a)
G: (If[α > 0, x(F), x(E)], If[α > 0, y(F), y(E)])
D = Point(a)
v = Vector(C, G)
d: (sgn((x(u) * x(v)) + (y(u) * y(v))) * mv / mu)
T3: d + "\vec{u}"
dis: (mu * α)
H = (-10.908333333333335, 11.65)
I = (22.091666666666665, 11.65)
J = (-11, -10)
K = (22, -10)
poly1, h, i, k_1, j = Polygon(H, I, K, J)