不同底數的指數函數圖形
Author: 藍邦偉  老師

參考線x=1

..

...

/

不同底數的指數函數

y=2^x

y=2^x

y=2^{-x}=\left( \frac{1}{2}  \right) ^x

$ y=2^{-x}=\left(  \frac{1}{2} \right)^x  $

y=3^x

y=3^x

$ y=3^{-x}=\left(  \frac{1}{3} \right) ^x $

$ y=3^{-x}=\left(  \frac{1}{3} \right) ^x $

參考線：\;x=1

f(x) = 2^(x)
g(x) = 2^(-x)
A = Corner(1)
B = Corner(3)
C: (x(A), 0)
D: (x(B), 0)
E: (0, y(A))
F: (0, y(B))
u = Vector(C, D)
v = Vector(E, F)
g_1(x) = 3^(x)
h_1(x) = 3^(-x)
G = Intersect(g_1, n, (1, 3))
H = Intersect(f, n, (1, 2))
I = Intersect(g, n, (1, 0.5))
J = Intersect(h_1, n, (1, 0.3333333333333333))
c = OrthogonalLine(G, v)
d = OrthogonalLine(H, v)
e = OrthogonalLine(I, v)
h = OrthogonalLine(J, v)
K = Intersect(c, i)
L = Intersect(d, i)
M = Intersect(e, i)
N = Intersect(h, i)
j = Segment(K, G)
k = Segment(L, H)
l = Segment(M, I)
p = Segment(N, J)
o = false
q = false
a = false
b = false
m = false
T_1 = Corner(1)
T_4 = Corner(4)
T_2: (7.5 * Corner[1] + 2.5 * Corner[2]) / 10
T_3: (7.5 * Corner[4] + 2.5 * Corner[3]) / 10
多邊形1, t_1, t_2, t_3, t_4 = Polygon(T_1, T_2, T_3, T_4)
r = Segment(T_2, T_3)