\bar{a}

\bar{a}^0

Yksikkövektori
 \space  \space 
\bar{a}^0=\frac{\bar{a}}{|\bar{a}|}=\frac{1}{|\bar{a}|}\bar{a}}

A = (-1.310880692008032, 1.075525142064014)
B = (2.2282412804605793, 1.7995047507665933)
u = Vector(A, B)
a = Segment(A, B)
pituus: a
k: (1 / pituus * u)
C = Midpoint(B, A)
D = Point(k)