平面向量的定義
Author: 藍邦偉  老師

移動A點與B點觀察

 \vec{ a } 

平面向量

B = (3.9, 4.516)
A = (3, 2)
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
f(x) = 2 * sin(x) + cos(2 * x) + 2
O = (0, 0)
文字2: "A(" + (x(A_1)) + "," + (y(A_1)) + ")"
文字1: " \vec{ a } = \vec{ OA }=" + A_1
x_1: 0.1 * Random[-30, 30]
y_1: 0.01 * Random[-300, 300]
P_1: B - A
w = Vector(O, P_1)
P' = Translate(P_1, w)
P = Translate(O, w)
Q_1 = Translate(A_1, w)
文字3: "\vec{ a } 的始點為P" + P
n = 0 (slider from 0 to 2, step 1)
b = Vector(P, O)
t = 0.66 (slider from 0 to 1, step 0.01)
P_a: O - t * b
Q_a: A_1 - t * b
c = Vector(P_a, Q_a)
z = Vector(A, B)
a = Vector(A, O)
B_1: A + t * a
C: B + t * a
d = Vector(B_1, C)
e = Vector(O, P)
P2 = 0
文字4: "終點為 Q" + (LaTeX[B]) + ""