$\vec{v}$

$v_1$

$v_2$

d

d

$v_3$

$|\vec{v}|$

$\vec{u}$

P = (-1, 0, 1)
Q = (1, 7, 6)
v = Vector(P, Q)
S: (x(P) + x(v) | y(P) | z(P))
T: (x(P) + x(v) | y(P) + y(v) | z(P))
d1, t, p, s = Polygon(P, S, T)
d2, q, p_1, t_1 = Polygon(P, T, Q)
u1: x(Q) - x(P)
u2: y(Q) - y(P)
u = Vector(P, Q)
u3: z(Q) - z(P)
a: abs(u)
α = Angle(P, S, T)
β = Angle(P, T, Q)
Text1: "d^2 = v_1^2 + v_2^2 = (" + (LaTeX[u1]) + ")^2 + (" + (LaTeX[u2]) + ")^2"
Text2: "|\vec{v}|^2 = d^2 + v_3^2 = v_1^2 + v_2^2 + v_3^2 = (" + (LaTeX[u3]) + ")^2 + (" + (LaTeX[u2]) + ")^2 + (" + (LaTeX[u1]) + ")^2"
Text3: "\vec{v} = \left(\begin{array}{c} " + (LaTeX[u1]) + " \\ " + (LaTeX[u2]) + " \\ " + (LaTeX[u3]) + " \end{array}\right)"
Text4: "|\vec{v}| = \sqrt{v_1^2 +v_2^2 + v_3^2} = \sqrt{(" + (LaTeX[u1]) + ")^2 + (" + (LaTeX[u2]) + ")^2 + (" + (LaTeX[u3]) + ")^2} \approx " + (LaTeX[a]) + ""