$\vec{a}$

$\vec{b}$

O: (0, 0)
A = (2, 1)
B = (2, 3)
a = Vector(O, A)
b = Vector(O, B)
c: (a * b)
Text1: "\vec{a} \cdot \vec{b} =  \left( \begin{array}{c} " + (LaTeX[x(a)]) + " \\ " + (LaTeX[y(a)]) + " \end{array} \right) \cdot\left( \begin{array}{c} " + (LaTeX[x(b)]) + " \\ " + (LaTeX[y(b)]) + " \end{array} \right) = (" + (LaTeX[x(a)]) + ") \cdot (" + (LaTeX[y(a)]) + ")+ (" + (LaTeX[x(b)]) + ") \cdot (" + (LaTeX[y(b)]) + ") = " + (LaTeX[c]) + ""
d: (abs(a) * abs(b))
Text2: "|\vec{a}| \cdot |\vec{b}| = \sqrt{" + (LaTeX[(x(a))^(2)]) + "+" + (LaTeX[(y(a))^(2)]) + "} \cdot \sqrt{" + (LaTeX[(x(b))^(2)]) + "+" + (LaTeX[(y(b))^(2)]) + "} = " + (LaTeX[d]) + ""