對數函數的平移(2)
Author: 藍邦偉  老師

對數函數的平移(2)

       $⇑ $
$⇐$平移$ ⇒$
       $⇓$

上

下

左

右

u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
O = (0, 0)
h = 0 (slider from -7 to 7, step 1)
A = (0.4, 5.44)
k = 0 (slider from -5 to 5, step 1)
a = 2 (slider from 0.1 to 5, step 0.1)
f(x) = lg(x) / lg(a)
g(x) = f(x - h) + k
text2: "f(x)=log_" + (LaTeX[a]) + "x"
text3: "g(x)=log_" + (LaTeX[a]) + "{(x" + (LaTeX[If[h < 0, "+", "-"]]) + "" + (LaTeX[abs(h)]) + ")}" + (LaTeX[If[k < 0, "-", "+"]]) + "" + (LaTeX[abs(k)]) + ""