2D 座標架
Author: 藍邦偉  老師

$a=%v$

$ O $

對數的意義

滿足\;a^x=b\;中\;x\;的值，\;\我們以符號\;log_ab\;表示.

$Step=%v$

a = 2 (slider from -5 to 5, step 0.1)
P = Point(Segment[(0, 0.1), (0, y(Corner[3]))])
O = Intersect(x = 0, y = 0)
Q_2: 0.7 * Corner[1] + 0.3 * Corner[2]
Q_3: (x(Q_2), y(Corner[4]))
poly1, q_1, q_2, q_4, q_3 = Polygon(Corner[1], Q_2, Q_3, Corner[4])
f(x) = a^(x)
L: y = y(P)
A = Intersect(f, L, (1.5849625005227326, 2.9999999995873896))
w = Vector(A, (x(A), 0))
t1: "y=f(x)=" + (LaTeX[a]) + "^x"
text1: "" + (LaTeX[y(P)]) + ""
text4: "y=" + (LaTeX[y(P)]) + ""
w_1 = Vector(P, A)
t2: "問題：\;若\;" + (LaTeX[a]) + "^{□}=" + (LaTeX[y(P)]) + "，\\則：\;□=?"
s = 4 (slider from 0 to 4, step 1)
t4: "⇒□=x=log_{" + (LaTeX[a]) + "}" + (LaTeX[y(P)]) + ""
t_{square}: "" + (LaTeX[If[s ≟ 2, "□", If[s ≟ 3, "x", If[s ≟ 4, "log_" + a + (y(P))]]]]) + ""