無窮等比級數的例子
Author: 9902高一忠 劉威廷

樹的寬度

無窮等比級數的應用

r = 1 (slider from 0.1 to 5, step 0.1)
A = (4.107067206842612, -3.3206111375165293)
B: A + r * (0.0, 1.0)
C_1: B + (-(r) / 2.8285, r / 2.8285)
C_2: B + (r / 2.8285, r / 2.8285)
D_1: C_1 + (-(r) / 4.0, 0.0)
D_4: C_2 + (r / 4.0, 0.0)
D_2: C_1 + (0.0, r / 4.0)
D_3: C_2 + (0.0, r / 4.0)
E_4: D_2 + (r / 11.312, r / 11.312)
E_1: D_1 + (-(r) / 11.312, r / 11.312)
E_3: D_2 + (-(r) / 11.312, r / 11.312)
E_5: D_3 + (-(r) / 11.312, r / 11.312)
E_6: D_3 + (r / 11.312, r / 11.312)
E_8: D_4 + (r / 11.312, r / 11.312)
E_7: D_4 + (-(r) / 11.312, r / 11.312)
E_2: D_1 + (r / 11.312, r / 11.312)
F_1: E_1 + (-(r) / 16.0, 0.0)
F_5: E_3 + (-(r) / 16.0, 0.0)
F_9: E_5 + (-(r) / 16.0, 0.0)
F_{13}: E_7 + (-(r) / 16.0, 0.0)
F_{15}: E_8 + (0.0, r / 16.0)
F_{16}: E_8 + (r / 16.0, 0.0)
F_{14}: E_7 + (0.0, r / 16.0)
F_{12}: E_6 + (r / 16.0, 0.0)
F_{11}: E_6 + (0.0, r / 16.0)
F_{10}: E_5 + (0.0, r / 16.0)
F_8: E_4 + (r / 16.0, 0.0)
F_7: E_4 + (0.0, r / 16.0)
F_6: E_3 + (0.0, r / 16.0)
F_4: E_2 + (r / 16.0, 0.0)
F_3: E_2 + (0.0, r / 16.0)
F_2: E_1 + (0.0, r / 16.0)
a = Segment(C_1, B)
b = Segment(B, C_2)
c = Segment(C_2, D_3)
d = Segment(C_2, D_4)
e = Segment(D_4, E_7)
f = Segment(D_4, E_8)
g = Segment(E_8, F_{16})
h = Segment(E_8, F_{15})
i = Segment(E_7, F_{13})
j = Segment(E_7, F_{14})
k = Segment(E_6, F_{12})
l = Segment(E_6, F_{11})
m = Segment(E_5, F_{10})
n_1 = Segment(E_5, F_9)
p = Segment(E_4, F_8)
q = Segment(E_4, F_7)
s = Segment(E_4, D_2)
t = Segment(D_2, E_3)
a_1 = Segment(F_6, E_3)
b_1 = Segment(E_3, F_5)
c_1 = Segment(F_3, E_2)
d_1 = Segment(E_2, F_4)
e_1 = Segment(E_2, D_1)
f_1 = Segment(D_1, E_1)
g_1 = Segment(E_1, F_2)
h_1 = Segment(E_1, F_1)
i_1 = Segment(D_1, C_1)
j_1 = Segment(C_1, D_2)
k_1 = Segment(B, A)
l_1 = Segment(E_5, D_3)
m_1 = Segment(D_3, E_6)
n = 5 (slider from 0 to 5, step 1)
樹的高度 = false
o = true