$\vec{b}$

$\vec{a}$

$\vec{c} = \vec{b} - \vec{a} $

B: (4, 9, -3)
A: (4, -1, 1)
E: (4, 1, 6)
pq = Vector(A, B)
ps = Vector(A, E)
a: (pq * ps)
sq = Vector(E, B)
Text1: "\vec{a} = \left(\begin{array}{c} a_1\\a_2\\ a_3\end{array}\right) = \left(\begin{array}{c} " + (LaTeX[x(ps)]) + "\\" + (LaTeX[y(ps)]) + "\\ " + (LaTeX[z(ps)]) + "\end{array}\right) "
Text2: "\vec{b} = \left(\begin{array}{c} b_1\\b_2\\ b_3\end{array}\right)  = \left(\begin{array}{c} " + (LaTeX[x(pq)]) + "\\" + (LaTeX[y(pq)]) + "\\ " + (LaTeX[z(pq)]) + "\end{array}\right) "
Text3: "\vec{c} = \vec{b} - \vec{a} = \left(\begin{array}{c} b_1-a_1\\b_2-a_2\\ b_3-a_3\end{array}\right) =   \left(\begin{array}{c} " + (LaTeX[x(sq)]) + "\\" + (LaTeX[y(sq)]) + "\\ " + (LaTeX[z(sq)]) + "\end{array}\right) "
b: (abs(pq))^(2)
c: (abs(ps))^(2)
d: (abs(sq))^(2)
Text4: "|\vec{a}|^2 =(" + (LaTeX[x(ps)]) + ")^2+(" + (LaTeX[y(ps)]) + ")^2+" + (LaTeX[z(ps)]) + "^2=" + (LaTeX[c]) + ""
Text5: "|\vec{b}|^2 =(" + (LaTeX[x(pq)]) + ")^2+(" + (LaTeX[y(pq)]) + ")^2+(" + (LaTeX[z(pq)]) + ")^2=" + (LaTeX[b]) + ""
Text6: "|\vec{c}|^2 =(" + (LaTeX[x(sq)]) + ")^2+(" + (LaTeX[y(sq)]) + ")^2+(" + (LaTeX[z(sq)]) + ")^2=" + (LaTeX[d]) + ""