Author: V. MAILLE
Date: 06/11/2006

Longueur du morceau gauche

Longuer du morceau du milieu

Longueur du morceau de droite

STOP !

NON

OUI

Activer la trace :

Fichier réalisé par vincent.maille@ac-amiens.fr

i = 0 (slider from 0 to 1, step 1)
A = (8.336979166666664, 12.827604166666633)
inter = If(abs(10 - x(A)) ≤ 10 ∧ abs(10 - y(A)) ≤ 10, A)
AX: (x(inter), 0)
S3a: (x(AX), -5)
AY: (0, y(inter))
S4a: (y(AY), -5)
S3 = If(x(S3a) < x(S4a), S3a, S4a)
S4 = If(x(S3a) < x(S4a), S4a, S3a)
d = Segment(S3, S4)
S1 = (0, -5)
c = Segment(S3, S1)
L1 = If(c < d, d, c)
S2 = (20, -5)
e = Segment(S4, S2)
Lmax = If(L1 < e, e, L1)
poss = If(Lmax ≤ 10, 1, 0)
l2 = If(c < d, c, d)
Lmin = If(l2 < e, l2, e)
P1 = (0, 0)
P2 = (20, 0)
P3 = (20, 20)
P4 = (0, 20)
P, p1, p2, p3, p4 = Polygon(P1, P2, P3, P4)
a = Segment(AY, inter)
b = Segment(inter, AX)
F1: (x(S1), -6)
F2: (x(S2), -6)
F3: (x(S3), -6)
F4: (x(S4), -6)
u = Vector(F1, F3)
v = Vector(F3, F4)
w = Vector(F4, F2)
z = Vector(F2, F4)
f = Vector(F4, F3)
g = Vector(F3, F1)
Rouge = If(poss == 0 ∧ i == 0, inter)
T1: "x=" + (x(AX))
T2: "y=" + (y(AY))
T4: "" + c
T6: "" + d
T8: "" + e
T9 = If(poss == 1, "" + Lmin + "+" + (20 - Lmin - Lmax) + "=" + (20 - Lmax) + "\ge" + Lmax)
B = (24, -2)
C = (24, -6)
D = (40, -6)
E = (40, -2)
Q, b_1, c_1, d_1, e_1 = Polygon(B, C, D, E)
T10 = If(poss == 0 ∧ x(inter) > -1, "" + Lmin + "+" + (20 - Lmin - Lmax) + "=" + (20 - Lmax) + "<" + Lmax)
stop = If(x(inter) > -1, 0, 1)
T13 = If(stop == 1, T11)
F = (24, 2)
k = Circle(F, c)
G = Intersect(k, h, 1)
p = Circle(F, d)
q = Circle(G, e)
H = Intersect(p, q, 1)
R, g_1, f_1, h_1 = Polygon(F, H, G)
Vert = If(poss == 1 ∧ i == 0, inter)
VertT = If(poss == 1 ∧ i == 1, inter)
RougeT = If(poss == 0 ∧ i == 1, inter)