y=f(x)

Etape

a

b

y=1

a

b

p

?

Modifier le n° de l'étape avec le curseur

début

Modifier le n° de l'étape avec le curseur

milieu p

C2 = 1
B2 = -1
f = Function(x^(3.0) - 3.0 * x + 2.0, -1.0, 1.0)
D2: (B2 + C2) / 2.0
C3 = If(f(D2) < 1.0, D2, C2)
B3 = If(f(D2) > 1.0, D2, B2)
D3: (B3 + C3) / 2.0
C4 = If(f(D3) < 1.0, D3, C3)
B4 = If(f(D3) > 1.0, D3, B3)
D4: (B4 + C4) / 2.0
B5 = If(f(D4) > 1.0, D4, B4)
C5 = If(f(D4) < 1.0, D4, C4)
D5: (B5 + C5) / 2.0
B6 = If(f(D5) > 1.0, D5, B5)
C6 = If(f(D5) < 1.0, D5, C5)
D6: (B6 + C6) / 2.0
C7 = If(f(D6) < 1.0, D6, C6)
B7 = If(f(D6) > 1.0, D6, B6)
D7: (B7 + C7) / 2.0
C8 = If(f(D7) < 1.0, D7, C7)
B8 = If(f(D7) > 1.0, D7, B7)
D8: (B8 + C8) / 2.0
B9 = If(f(D8) > 1.0, D8, B8)
C9 = If(f(D8) < 1.0, D8, C8)
D9: (B9 + C9) / 2.0
B10 = If(f(D9) > 1.0, D9, B9)
C10 = If(f(D9) < 1.0, D9, C9)
D10: (B10 + C10) / 2.0
C11 = If(f(D10) < 1.0, D10, C10)
B11 = If(f(D10) > 1.0, D10, B10)
D11: (B11 + C11) / 2.0
C12 = If(f(D11) < 1.0, D11, C11)
B12 = If(f(D11) > 1.0, D11, B11)
D12: (B12 + C12) / 2.0
B13 = If(f(D12) > 1.0, D12, B12)
C13 = If(f(D12) < 1.0, D12, C12)
D13: (B13 + C13) / 2.0
B14 = If(f(D13) > 1.0, D13, B13)
C14 = If(f(D13) < 1.0, D13, C13)
D14: (B14 + C14) / 2.0
C15 = If(f(D14) < 1.0, D14, C14)
B15 = If(f(D14) > 1.0, D14, B14)
D15: (B15 + C15) / 2.0
C16 = If(f(D15) < 1.0, D15, C15)
B16 = If(f(D15) > 1.0, D15, B15)
D16: (B16 + C16) / 2.0
C17 = If(f(D16) < 1.0, D16, C16)
L_2: {C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17}
pointsB = Sequence((Element[L_2, k], 0.0), k, 1.0, Length[L_2])
Etape = 0 (slider from 0 to 6, step 1)
B17 = If(f(D16) > 1.0, D16, B16)
L_1: {B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B15, B16, B17}
pointsA = Sequence((Element[L_1, k], 0.0), k, 1.0, Length[L_1])
A3 = 1
A4 = 2
A5: 2.0 * A4 - A3
A6: 2.0 * A5 - A4
A7: 2.0 * A6 - A5
A8: 2.0 * A7 - A6
A9: 2.0 * A8 - A7
A10: 2.0 * A9 - A8
A11: 2.0 * A10 - A9
A12: 2.0 * A11 - A10
A13: 2.0 * A12 - A11
A14: 2.0 * A13 - A12
A15: 2.0 * A14 - A13
A16: 2.0 * A15 - A14
A17: 2.0 * A16 - A15
A = Element(pointsA, Etape + 1.0)
B = Element(pointsB, Etape + 1.0)
D17: (B17 + C17) / 2.0
L_3: {D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17}
milieu = Sequence((Element[L_3, k], 0.0), k, 1.0, Length[L_3])
K = Element(milieu, Etape + 1.0)
C = Intersect(f, a, (1.5320888862380462, 1.0000000000003646))
b = OrthogonalLine(C, xAxis)
D = Intersect(b, xAxis)
c = Segment(C, D)
d = OrthogonalLine(K, xAxis)
g = Segment(A, B)
h = OrthogonalLine(A, xAxis)
i = OrthogonalLine(B, xAxis)
F = Intersect(f, h, (-1.0, 4.0))
G = Intersect(f, i, (1.0, 0.0))
k = Segment(B, G)
j = Segment(A, F)
E = Intersect(f, a, (1.532088886237968, 1.0000000000000484))
e = OrthogonalLine(E, xAxis)
H = Intersect(e, g)
l = Segment(E, H)
m = OrthogonalLine(K, g)
I = Intersect(f, m, (0.0, 2.0))
n = Segment(I, K)
J = Intersect(f, a)
p = OrthogonalLine(J, g)
L = Intersect(p, g)
q = Segment(J, L)