Author: Daniel Mentrard

PGCD[d_1, f]

PPCM[d_1, d_2]

PGCD[d_2, f]

PGCD[nnf, f]

x

=

=

=

=

Esta fracción no se puede
simplificar

Escoged aquí las fracciones

Multiplicamos los numeradores
y los denominadores entre sí 

n_2 = 24 (slider from 0 to 200, step 1)
d_1 = 25 (slider from 1 to 200, step 1)
d_2 = 10 (slider from 1 to 200, step 1)
f = LCM(d_1, d_2)
g = GCD(d_2, f)
nn2: n_2 * f / g
n_1 = 50 (slider from 0 to 200, step 1)
e = GCD(f, d_1)
nn1: n_1 * f / e
a = Random(2.0, 15.0)
c = RandomNormal(2.0, 4.0)
b = RandomBinomial(2.0, 3.0)
d = Binomial(4.0, 2.0)
texte9: "" + e
texte11: "" + f
texte13: " \frac{ " + n_2 + " }{" + d_2 + " } "
texte17: "" + g
nnf: nn1 + nn2
h = GCD(n_1 * n_2, d_1 * d_2)
texte5: "" + h
texte12: " \frac{ " + n_1 + " }{" + d_1 + " } "
A = (-3.5, 2.5)
B = (18, 2.5)
i = Segment(A, B)
C = Point(i)
D = (1.5, 0.5)
j = Segment(C, D)
E = (-3.5, 0.5)
k = Segment(A, E)
l = Segment(E, D)
F = (7, 0.5)
m = Segment(D, F)
G = Point(i)
n = Segment(F, G)
H = (11.5, 0.5)
p = Segment(F, H)
I = Point(i)
q = Segment(I, H)
J = (18, 0.5)
r = Segment(H, J)
s = Segment(J, B)
texte14: " \frac{ " + n_1 + " \;  x  \; " + n_2 + "  }{" + d_1 + " \;  x \;  " + d_2 + " } "
texte1: " \frac{ " + (n_1 * n_2) + "}{" + (d_1 * d_2) + " } "
texte2: " \frac{ " + (n_1 * n_2) + "}{" + (d_1 * d_2) + "} "
texte4: " \frac{ " + (n_1 * n_2 / h) + "}{" + (d_1 * d_2 / h) + "} "
texte21: "Esta fracción puede
simplificarse por " + h