指數函數圖形的平移

$O$

$Step%v$

$a=%v$

$h=%v$

$k=%v$

x

y

UP

DOWN

RIGHT

LEFT

O = (7.894545454545459, -11.130909090909089)
n = 0 (slider from 0 to 5, step 1)
t2 = 0 (slider from 0 to 1, step 0.01)
Q_2: (0.7 * Corner[2]) + (0.3 * Corner[1])
Q_3: (x(Q_2), y(Corner[4]))
line = Segment(Q_2, Q_3)
A_1: O + (t2 * Vector[O, (x(Q_2), y(O))])
A_2: O + (t2 * Vector[O, (x(Corner[1]), y(O))])
B_1: O + (t2 * Vector[O, (x(O), y(Corner[3]))])
B_2: O + (t2 * Vector[O, (x(O), y(Corner[1]))])
u_1 = Vector(O, A_1)
v_1 = Vector(O, B_1)
u_2 = Segment(O, A_2)
v_2 = Segment(O, B_2)
a = 2 (slider from 0.01 to 10, step 0.01)
h = 0 (slider from -5 to 5, step 1)
k = 0 (slider from -5 to 5, step 1)
text3: "f(x)=" + (LaTeX[a]) + "^{x}"
text5: "f(x)=" + (LaTeX[a]) + "^{x" + (LaTeX[If[h ≟ 0, "", If[h  <  0, ("+" * abs(h)), ("-" * h)]]]) + "}" + (LaTeX[If[k ≟ 0, "", If[k > 0, ("+" * k), ("-" * abs(k))]]]) + ""
g_1(x) = If[x(Corner[1]) ≤ x ≤ x(Q_2),a^(x - x(O)) + y(O)]
g(x) = If[x(Corner[1]) ≤ x ≤ x(Q_2),a^(x - x(O) - h) + k + y(O)]
f(x) = If[x(Corner[1]) ≤ x ≤ x(Q_2),a^(x - x(O) - h) + k + y(O)]
A = Point(g_1)
B: A + (h, 0)
u = Vector(A, B)
C: A + (h, k)
v = Vector(B, C)