Author: 藍邦偉　老師

單位向量

座標軸

Start

x

y

z

O = (10.217926509050402, 5.517857779531013)
β = 0 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
Z_{unit}: O + (0, sin(β))
w = Vector(O, Z_{unit})
α = 0 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
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 = true
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 + 2 * u + 2 * v
A_2: O - 2 * u + 2 * v
A_3: O - 2 * u - 2 * v
A_4: O + 2 * u - 2 * v
B_1: O + (4 + sqrt(3)) * u