對數函數的圖形
Author: 藍邦偉  老師

$O$

f(x)=ld(x)

f(x)=cscx

對數函數的圖形

y=log_2x

y=log_{\frac{1}{2}}x

y=-log-2x

y=-log_2x

$ y=-log_2(-x) $

t_2 = 0 (slider from 0 to x(Corner[2]), step 0.01)
f(x) = ld(x)
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
O = (0, 0)
Q_2: 0.8 * Corner[1] + 0.2 * 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])
t_1 = -1.9940101178001268 (slider from x(Q_2) to 0, step 0.01)
a = true
f_1 = Function(f, 0, t_2)
b = false
g(x) = -ld(x)
g_1 = Function(g, 0, t_2)
h(x) = ld(-x)
h_1 = Function(h, x(Q_2), t_1)
c = false
P_2: (t_1 + 0.05, h_1(t_1 + 0.05))
d = false
r(x) = -ld(-x)
r_1 = Function(r, x(Q_2), t_1)
P_3: (t_1 + 0.05, r_1(t_1 + 0.05))
P: (t_2 + 0.05, f_1(t_2 + 0.05))
P_1: (t_2 + 0.05, g_1(t_2 + 0.05))