$ y_t $

$ y_{t+1} $

$ g $

g(x) = x - 0.05 * (x - 1) * (x - 3) * (x - 5)
x01 = 3.5
n1 = 10
list1_1 = IterationList(g, x01, n1)
list2 = Sequence((Element[list1_1, i], Element[list1_1, i + 1]), i, 1, n1)
list3 = Sequence((Element[list1_1, i], Element[list1_1, i]), i, 2, n1)
A = Point(list2)
B = Point(list3)
u = Vector(A, B)
C = Point(list2)
v = Vector(B, C)
D = Point(list3)
w = Vector(C, D)
E = Point(list2)
z = Vector(D, E)
F = Point(list3)
b = Vector(E, F)
G = Point(list2)
c = Vector(F, G)
H = Point(list3)
d = Vector(G, H)
I = Point(list2)
e = Vector(H, I)
J = Point(list3)
f = Vector(I, J)
K = Point(f)
L = Point(list2)
h = Vector(K, L)
M = Point(list3)
i = Vector(L, M)
N = Point(list2)
j = Vector(M, N)
O = Point(list3)
k = Vector(N, O)
P = Point(list2)
l = Vector(O, P)
Q = Point(list3)
m = Vector(P, Q)
R = Point(list2)
p = Vector(Q, R)
q = Vector(R, Q)
S = Point(list3)
r = Vector(R, S)
T = Point(list2)
s = Vector(S, T)
x02 = 2.5
n2 = 10
list1_2 = IterationList(g, x02, n2)
list4 = Sequence((Element[list1_2, i], Element[list1_2, i + 1]), i, 1, n2)
list5 = Sequence((Element[list1_2, i], Element[list1_2, i]), i, 2, n2)
U = Point(list4)
V = Point(list5)
t = Vector(U, V)
W = Point(list4)
u_1 = Vector(V, W)
Z = Point(list5)
v_1 = Vector(W, Z)
A_1 = Point(list4)
w_1 = Vector(Z, A_1)
B_1 = Point(list5)
z_1 = Vector(A_1, B_1)
C_1 = Point(list4)
a_1 = Vector(B_1, C_1)
D_1 = Point(list5)
b_1 = Vector(C_1, D_1)
E_1 = Point(list4)
c_1 = Vector(D_1, E_1)
F_1 = Point(list5)
d_1 = Vector(E_1, F_1)
G_1 = Point(list4)
e_1 = Vector(F_1, G_1)
H_1 = Point(list5)
f_1 = Vector(G_1, H_1)
I_1 = Point(list4)
g_1 = Vector(H_1, I_1)
J_1 = Point(list5)
h_1 = Vector(I_1, J_1)
K_1 = Point(list4)
i_1 = Vector(J_1, K_1)
L_1 = Point(list5)
j_1 = Vector(K_1, L_1)
M_1 = Point(list4)
k_1 = Vector(L_1, M_1)
N_1 = Point(list5)
l_1 = Vector(M_1, N_1)
O_1 = Point(list4)
m_1 = Vector(N_1, O_1)
P_1 = Point(i_1)
Q_1 = Point(list5)
n_1 = Vector(P_1, Q_1)
x03 = 0.1
n3 = 3
list1_3 = IterationList(g, x03, n3)
list6 = Sequence((Element[list1_3, i], Element[list1_3, i + 1]), i, 1, n3)
list7 = Sequence((Element[list1_3, i], Element[list1_3, i]), i, 2, n3)
R_1 = Point(list6)
S_1 = Point(list7)
p_1 = Vector(R_1, S_1)
T_1 = Point(list6)
q_1 = Vector(S_1, T_1)
U_1 = Point(list7)
r_1 = Vector(T_1, U_1)
V_1 = Point(list6)
s_1 = Vector(U_1, V_1)
x0 = 6
n = 3
list1 = IterationList(g, x0, n)
list8 = Sequence((Element[list1, i], Element[list1, i + 1]), i, 1, n)
list9 = Sequence((Element[list1, i], Element[list1, i]), i, 2, n)
W_1 = Point(list8)
Z_1 = Point(list9)
A_2 = Point(list8)
B_2 = Point(list9)
C_2 = Point(list8)
D_2 = Point(list9)
E_2 = Point(list8)
F_2 = Point(list8)
G_2 = Point(list9)
t_1 = Vector(F_2, G_2)
H_2 = Point(list8)
u_2 = Vector(G_2, H_2)
I_2 = Point(list9)
v_2 = Vector(H_2, I_2)
J_2 = Point(list8)
w_2 = Vector(I_2, J_2)
K_2 = Intersect(g, a, 3)
L_2 = Intersect(g, a, 2)
M_2 = Intersect(g, a, 1)