Author: 藍邦偉　老師

單位向量

座標軸

Start

x

y

z

triangle

4

line

O = (9.948980452701663, 1.82989263636196)
β = 1.3962634015954636 rad (slider from 0 to 6.283185307179586, step 0.1*°)
Z_{unit}: O + (0, sin(β))
w = Vector(O, Z_{unit})
α = 0.6702064327658226 rad (slider from 0 to 6.283185307179586, step 0.1*°)
X_{unit}: O + (cos(α), sin(α) * cos(β))
u = Vector(O, X_{unit})
Y_{unit}: O + (-1 * sin(α), cos(α) * cos(β))
v = Vector(O, Y_{unit})
L = 7 (slider from 1 to 10, step 1)
a = Vector(O - L * v, O + L * v)
b = Vector(O - L * w, O + L * w)
z = Vector(O - L * u, O + L * u)
c = false
d = false
Q_2: 0.2 * Corner[2] + 0.8 * Corner[1]
Q_3: (x(Q_2), y(Corner[3]))
g = Segment(Q_2, Q_3)
poly1, h, q_1, q_4, i = Polygon(Corner[1], Q_2, Q_3, Corner[4])
x_1 = 1 (slider from 0.1 to 5, step 0.1)
x_2 = 2 (slider from 0.1 to 5, step 0.1)
x_3 = 1 (slider from 0.1 to 5, step 0.1)
y_1 = 1 (slider from 0.1 to 5, step 0.1)
y_2 = 1 (slider from 0.1 to 5, step 0.1)
y_3 = 1 (slider from 0.1 to 5, step 0.1)
z_1 = 1 (slider from 0.1 to 5, step 0.1)
z_2 = 2 (slider from 0.1 to 5, step 0.1)
A_1: O + u
A_2: O + v
A_3: O + w
Tri1, a_3, a_1, a_2 = Polygon(A_1, A_2, A_3)
θ = Angle(A_1, A_3, A_2)
A_4: A_1 + A_2 - A_3
e = false
poly2, a_4, a_5, a_6, a_7 = Polygon(A_1, A_3, A_2, A_4)
f = false
text4: "$ θ=" + (LaTeX[θ]) + " $"
j = Segment(A_3, A_4)
k = Segment(A_3, A_4)
s = true
γ = Angle(A_4, A_3, A_2)
δ = Angle(A_1, A_3, A_4)
text5: "∠A_2A_3A_4=\gamma=" + (LaTeX[γ]) + ""
text6: "$ ∠A_4A_3A_1=\delta=" + (LaTeX[δ]) + " $"