Coordenadas nunha
base ortonormal

$ \vec i $

$ \vec j $

$ \vec k $

$ \overrightarrow{OA} $

$ \overrightarrow{OB} $

$ \overrightarrow{AB} $

x_0

y_0

z_0

x_1

y_1

z_1

z_0 = 1.5 (slider from -3 to 3, step 0.1)
Z = (0, 10)
O = (0, 0)
G = Dilate(Z, z_0, O)
Y = (10, 0)
f = Line(O, Y)
y_0 = 0.8 (slider from -3 to 3, step 0.1)
F = Dilate(Y, y_0, O)
g = Line(O, Z)
x_0 = 0.5 (slider from -3 to 3, step 0.1)
X = (-3, -5)
E = Dilate(X, x_0, O)
u_2 = Vector(O, Y)
v = Vector(O, X)
w = Vector(O, Z)
polígono1, c, a, b = Polygon(O, Y, X)
polígono2, d, a_1, c_1 = Polygon(O, X, Z)
polígono3, b_1, a_2, d_1 = Polygon(O, Z, Y)
e = Line(O, X)
i = Line(E, f)
k = Line(F, e)
m = Line(G, e)
H = Intersect(i, k)
n = Line(H, g)
p = Line(O, H)
q = Line(G, p)
A = Intersect(n, q)
OA = Vector(O, A)
s = Segment(A, H)
j = Line(F, g)
l = Line(G, f)
J = Intersect(j, l)
f_1 = Segment(A, J)
h = Line(E, g)
K = Intersect(h, m)
L = Intersect(s, f_1)
h_1 = Segment(K, L)
e_1 = Segment(F, J)
g_1 = Segment(G, J)
i_1 = Segment(G, K)
j_1 = Segment(K, E)
r = Segment(E, H)
t = Segment(H, F)
x_1 = 2 (slider from -3 to 3, step 0.1)
y_1 = 2 (slider from -3 to 3, step 0.1)
z_1 = 2 (slider from -3 to 3, step 0.1)
E' = Dilate(X, x_1, O)
G' = Dilate(Z, z_1, O)
F' = Dilate(Y, y_1, O)
k_1 = Line(E', f)
l_1 = Line(F', e)
m_1 = Line(E', g)
n_1 = Line(F', g)
p_1 = Line(G', e)
q_1 = Line(G', f)
B_1 = Intersect(m_1, p_1)
C = Intersect(k_1, l_1)
D = Intersect(n_1, q_1)
r_1 = Line(B_1, f)
s_1 = Line(D, e)
B = Intersect(r_1, s_1)
t_1 = Segment(E', C)
b_2 = Segment(C, F')
c_2 = Segment(F', D)
d_2 = Segment(D, G')
e_2 = Segment(G', B_1)
f_2 = Segment(B_1, E')
g_2 = Segment(B_1, B)
h_2 = Segment(B, D)
i_2 = Segment(B, C)
OB = Vector(O, B)
AB = Vector(A, B)
texto7: "$ \overrightarrow{AB}=(" + (LaTeX[x_1 - x_0]) + "," + (LaTeX[y_1 - y_0]) + "," + (LaTeX[z_1 - z_0]) + ") $"
texto5: "$ \overrightarrow{OA}=(" + (LaTeX[x_0]) + "," + (LaTeX[y_0]) + "," + (LaTeX[z_0]) + ")$"
texto6: "$ \overrightarrow{OB}=(" + (LaTeX[x_1]) + "," + (LaTeX[y_1]) + "," + (LaTeX[z_1]) + ") $"
j_2 = Segment(G', O)
k_2 = Segment(G, O)
l_2 = Segment(F', O)
m_2 = Segment(F, O)
n_2 = Segment(E, O)
p_2 = Segment(E', O)