Author: Daniel Mentrard

>

<

=

Comparemos las dos fracciones siguientes:

y

=

>

<

Estas son las dos fracciones con el mismo denominador:

numerateur1 = 1 (slider from 0 to 10, step 1)
denominateur1 = 6 (slider from 1 to 10, step 1)
numerateur2 = 5 (slider from 0 to 10, step 1)
denominateur2 = 8 (slider from 1 to 10, step 1)
A = (-0.8888284941545326, 9.952889292777334)
e = OrthogonalLine(A, yAxis)
f = OrthogonalLine(A, e)
Taille = 12 (slider from 6 to 12, step 0.1)
h = Circle(A, Taille)
B = Intersect(h, e, 1)
C = Intersect(h, f, 2)
D = Intersect(h, e, 1)
i = OrthogonalLine(B, e)
E = Intersect(h, f, 2)
j = OrthogonalLine(C, f)
F = Intersect(i, j)
P, a_1, b_1, f_1, c_1 = Polygon(A, B, F, C)
VarRayon: Taille / denominateur1
k = Circle(A, VarRayon)
G = Intersect(k, a_1)
p = Circle(G, A)
H = Intersect(p, a_1, 2)
q = Circle(H, G)
I, J = Intersect(q, a_1)
r = Circle(J, H)
K, L = Intersect(r, a_1)
s = Circle(L, J)
M, N = Intersect(s, a_1)
t = Circle(N, L)
O, Q = Intersect(t, a_1)
d_1 = Circle(Q, N)
R, S = Intersect(d_1, a_1)
e_1 = Circle(S, Q)
T, U = Intersect(e_1, a_1)
g_1 = Circle(U, S)
V, W = Intersect(g_1, a_1)
h_1 = Circle(W, U)
l = OrthogonalLine(G, a_1)
m = OrthogonalLine(H, a_1)
n = OrthogonalLine(J, a_1)
i_1 = OrthogonalLine(L, a_1)
j_1 = OrthogonalLine(N, a_1)
k_1 = OrthogonalLine(Q, a_1)
l_1 = OrthogonalLine(S, a_1)
m_1 = OrthogonalLine(U, a_1)
n_1 = OrthogonalLine(W, a_1)
Y = Intersect(f_1, l)
Z = Intersect(f_1, m)
A_1 = Intersect(f_1, n)
B_1 = Intersect(f_1, i_1)
C_1 = Intersect(f_1, j_1)
D_1 = Intersect(f_1, k_1)
E_1 = Intersect(l_1, f_1)
F_1 = Intersect(f_1, m_1)
G_1 = Intersect(f_1, n_1)
p_1 = Ray(A, B)
H_1 = Point(p_1)
u = Vector(A, H_1)
A' = Translate(A, u)
B' = Translate(B, u)
F' = Translate(F, u)
C' = Translate(C, u)
P', a', b', f', c' = Polygon(A', B', F', C')
q_1 = OrthogonalLine(V, a_1)
r_1 = Circle(V, U)
s_1 = Segment(G, Y)
t_1 = Segment(H, Z)
a_2 = Segment(J, A_1)
b_2 = Segment(L, B_1)
c_2 = Segment(N, C_1)
d_2 = Segment(Q, D_1)
e_2 = Segment(S, E_1)
f_2 = Segment(U, F_1)
g_2 = Segment(W, G_1)
VarRayon2: Taille / denominateur2
h_2 = Circle(H_1, VarRayon2)
J_1 = Intersect(h_2, c', 1)
k_2 = Circle(J_1, H_1)
K_1 = Intersect(k_2, c', 2)
p_2 = Circle(K_1, J_1)
L_1 = Intersect(p_2, c', 2)
q_2 = Circle(L_1, K_1)
M_1 = Intersect(q_2, c', 2)
r_2 = Circle(M_1, L_1)
N_1 = Intersect(r_2, c', 2)
s_2 = Circle(N_1, M_1)
O_1, P_1 = Intersect(s_2, c')
t_2 = Circle(P_1, N_1)
Q_1 = Intersect(t_2, c', 2)
c_3 = Circle(Q_1, P_1)
R_1 = Intersect(c_3, c', 2)
d_3 = Circle(R_1, Q_1)
S_1 = Intersect(d_3, c', 2)
e_3 = Circle(S_1, R_1)
i_2 = OrthogonalLine(J_1, c')
j_2 = OrthogonalLine(K_1, c')
l_2 = OrthogonalLine(L_1, c')
m_2 = OrthogonalLine(M_1, c')
n_2 = OrthogonalLine(N_1, c')
a_3 = OrthogonalLine(P_1, c')
b_3 = OrthogonalLine(Q_1, c')
f_3 = OrthogonalLine(R_1, c')
g_3 = OrthogonalLine(S_1, c')
T_1 = Intersect(b', i_2)
U_1 = Intersect(b', j_2)
V_1 = Intersect(b', l_2)
W_1 = Intersect(b', m_2)
Y_1 = Intersect(b', n_2)
Z_1 = Intersect(b', a_3)
A_2 = Intersect(b', b_3)
B_2 = Intersect(b', f_3)
C_2 = Intersect(b', g_3)
h_3 = Segment(J_1, T_1)
i_3 = Segment(U_1, K_1)
j_3 = Segment(L_1, V_1)
k_3 = Segment(W_1, M_1)
l_3 = Segment(N_1, Y_1)
m_3 = Segment(Z_1, P_1)
n_3 = Segment(Q_1, A_2)
p_3 = Segment(B_2, R_1)
q_3 = Segment(S_1, C_2)
Varlargeur: (numerateur1 * VarRayon)
r_3 = Circle(A, Varlargeur)
D_2, S_2 = Intersect(r_3, a_1)
s_3 = OrthogonalLine(D_2, f_1)
E_2 = Intersect(s_3, f_1)
t_3 = OrthogonalLine(E_2, s_3)
F_2 = Intersect(t_3, c_1)
P_2, a_4, d_4, e_4, f_4 = Polygon(A, D_2, E_2, F_2)
b_4 = OrthogonalLine(O, a_1)
G_2 = Intersect(b_4, f_1)
g_4 = Circle(O, N)
Varlargeur_2: (numerateur2 * VarRayon2)
q_4 = Circle(O_1, N_1)
t_4 = OrthogonalLine(O_1, c')
h_5 = Circle(H_1, Varlargeur_2)
F_3, I_1 = Intersect(h_5, c')
i_5 = OrthogonalLine(F_3, c')
G_3 = Intersect(i_5, b')
P_3, h_6, f_6, g_6, b'_1 = Polygon(H_1, F_3, G_3, B')
a = Line(A, H_1)
b = Line(A, yAxis)
A1 = Point(b, 0.03)
v = Vector(A, A1)
w = Vector(H_1, A1)
A'_2 = Translate(A, v)
B'_2 = Translate(B, v)
F'_2 = Translate(F, v)
C'_2 = Translate(C, v)
A'' = Translate(A', w)
B'' = Translate(B', w)
F'' = Translate(F', w)
C'' = Translate(C', w)
P'', a'', b'', f'', c'' = Polygon(A'', B'', F'', C'')
G' = Translate(G, v)
Y' = Translate(Y, v)
c = Segment(G', Y')
H' = Translate(H, v)
Z' = Translate(Z, v)
d = Segment(H', Z')
J' = Translate(J, v)
A_1' = Translate(A_1, v)
g = Segment(J', A_1')
L' = Translate(L, v)
B_1' = Translate(B_1, v)
a1 = Segment(L', B_1')
N' = Translate(N, v)
C_1' = Translate(C_1, v)
b1 = Segment(N', C_1')
Q' = Translate(Q, v)
D_1' = Translate(D_1, v)
c1 = Segment(Q', D_1')
S' = Translate(S, v)
E_1' = Translate(E_1, v)
d1 = Segment(S', E_1')
U' = Translate(U, v)
F_1' = Translate(F_1, v)
e1 = Segment(U', F_1')
W' = Translate(W, v)
G_1' = Translate(G_1, v)
f1 = Segment(W', G_1')
J_1' = Translate(J_1, w)
T_1' = Translate(T_1, w)
g1 = Segment(J_1', T_1')
F_3' = Translate(F_3, w)
G_3' = Translate(G_3, w)
h1 = Segment(F_3', G_3')
A''_1 = Translate(A', w)
B''_1 = Translate(B', w)
F''_1 = Translate(F', w)
C''_1 = Translate(C', w)
P''_1, a''_1, b''_1, f''_1, c''_1 = Polygon(A''_1, B''_1, F''_1, C''_1)
W_1' = Translate(W_1, w)
M_1' = Translate(M_1, w)
i1 = Segment(W_1', M_1')
L_1' = Translate(L_1, w)
V_1' = Translate(V_1, w)
j1 = Segment(L_1', V_1')
N_1' = Translate(N_1, w)
Y_1' = Translate(Y_1, w)
k1 = Segment(N_1', Y_1')
Z_1' = Translate(Z_1, w)
P_1' = Translate(P_1, w)
l1 = Segment(Z_1', P_1')
S_1' = Translate(S_1, w)
C_2' = Translate(C_2, w)
m1 = Segment(S_1', C_2')
B_2' = Translate(B_2, w)
R_1' = Translate(R_1, w)
n1 = Segment(B_2', R_1')
Q_1' = Translate(Q_1, w)
A_2' = Translate(A_2, w)
p1 = Segment(Q_1', A_2')
A'_3 = Translate(A, v)
D_2' = Translate(D_2, v)
E_2' = Translate(E_2, v)
F_2' = Translate(F_2, v)
P_2', a'_3, d_2', e_2', f_2' = Polygon(A'_3, D_2', E_2', F_2')
q1 = Line(A1, xAxis)
r1 = Line(H_1, b)
B1 = Intersect(q1, r1)
z = Vector(A, B1)
u1 = Vector(H_1, B1)
A'_4 = Translate(A, z)
B'_3 = Translate(B, z)
F'_3 = Translate(F, z)
C'_3 = Translate(C, z)
P'_2, a'_4, b'_3, f'_3, c'_3 = Polygon(A'_4, B'_3, F'_3, C'_3)
G'_1 = Translate(G, z)
Y'_1 = Translate(Y, z)
s1 = Segment(G'_1, Y'_1)
H'_1 = Translate(H, z)
Z'_1 = Translate(Z, z)
t1 = Segment(H'_1, Z'_1)
J'_1 = Translate(J, z)
A_3 = Translate(A_1, z)
a2 = Segment(J'_1, A_3)
L'_1 = Translate(L, z)
B_3 = Translate(B_1, z)
b2 = Segment(L'_1, B_3)
N'_1 = Translate(N, z)
C_3 = Translate(C_1, z)
c2 = Segment(N'_1, C_3)
W'_1 = Translate(W, z)
G_4 = Translate(G_1, z)
d2 = Segment(W'_1, G_4)
U'_1 = Translate(U, z)
F_4 = Translate(F_1, z)
e2 = Segment(U'_1, F_4)
S'_1 = Translate(S, z)
E_3 = Translate(E_1, z)
f2 = Segment(S'_1, E_3)
Q'_1 = Translate(Q, z)
D_3 = Translate(D_1, z)
g2 = Segment(Q'_1, D_3)
J_2 = Translate(J_1, u1)
T_2 = Translate(T_1, u1)
h2 = Segment(J_2, T_2)
U_1' = Translate(U_1, u1)
K_1' = Translate(K_1, u1)
i2 = Segment(U_1', K_1')
L_2 = Translate(L_1, u1)
V_2 = Translate(V_1, u1)
j2 = Segment(L_2, V_2)
W_2 = Translate(W_1, u1)
M_2 = Translate(M_1, u1)
k2 = Segment(W_2, M_2)
S_3 = Translate(S_1, u1)
C_4 = Translate(C_2, u1)
l2 = Segment(S_3, C_4)
B_4 = Translate(B_2, u1)
R_2 = Translate(R_1, u1)
m2 = Segment(B_4, R_2)
Q_2 = Translate(Q_1, u1)
A_4 = Translate(A_2, u1)
n2 = Segment(Q_2, A_4)
Z_2 = Translate(Z_1, u1)
P_4 = Translate(P_1, u1)
p2 = Segment(Z_2, P_4)
N_2 = Translate(N_1, u1)
Y_2 = Translate(Y_1, u1)
q2 = Segment(N_2, Y_2)
H_1' = Translate(H_1, u1)
F_5 = Translate(F_3, u1)
G_5 = Translate(G_3, u1)
B''_2 = Translate(B', u1)
P_3', h_1', f_5, g_5, b''_2 = Polygon(H_1', F_5, G_5, B''_2)
H_1'' = Rotate(H_1', 90°, B1)
F_5' = Rotate(F_5, 90°, B1)
G_5' = Rotate(G_5, 90°, B1)
B''_2' = Rotate(B''_2, 90°, B1)
U_2 = Translate(U_1, w)
K_2 = Translate(K_1, w)
q3 = Segment(U_2, K_2)
T1: "" + numerateur1
T2: "" + denominateur1
T3: "" + numerateur2
T4: "" + denominateur2
T5: "" + ((denominateur2 * denominateur1))
T6: "" + ((denominateur2 * denominateur1))
T7: "" + ((denominateur2 * numerateur1))
T8: "" + ((numerateur2 * denominateur1))
res1: numerateur1 / denominateur1
res2: numerateur2 / denominateur2
C1 = (0, 12.5)
D1 = (45, 12.5)
E1 = (0, -7.5)
F1 = (52.5, -7.5)
r2 = Line(E1, F1)
s2 = Line(C1, D1)
G1 = Point(s2)
H1 = Point(s2)
I1 = Point(s2)
J1 = Point(s2)
K1 = Point(r2)
L1 = Point(r2)
M1 = Point(r2)
N1 = Point(r2)
t2 = Segment(G1, H1)
a3 = Segment(I1, J1)
b3 = Segment(K1, L1)
c3 = Segment(M1, N1)
T12: "" + numerateur1
T13: "" + numerateur2
T14: "" + denominateur1
T15: "" + denominateur2
O1 = (37.5, -2.5)
P1 = (45, -2.5)
Q1 = (40, -2.5)
R1 = (42.5, -2.5)
d3 = Segment(O1, Q1)
e3 = Segment(R1, P1)
S1 = (36, 0)
U1 = (46, 0)
V1 = (46, -6)
W1 = (36, -6)
poly1, s1_1, u1_1, v1, w1 = Polygon(S1, U1, V1, W1)