指數與對數(5)
Author: 藍邦偉　老師

∵y=f(x)=2^x+a的圖形與y=g(x)=log_b(x-1)的圖形對稱於y=x

∴b=2,又g(x)=log_2(x-1)必通過點(2,0).

$ ∴f(x)必通過點(0,2) $

$ f(0)=2⁰+a=1+a=2⇒a=1 $

g(x) = ld(x - 1)
g_1 = Mirror(g, a)
n = 1 (slider from 1 to 6, step 1)
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
poly1, b, c, d, e = Polygon(Corner[1], Corner[2], Corner[3], Corner[4])