Somme de fractions.

+

+

=

=

simplifier avant

précédent

somme

somme simplifiée

Tartes avec même partage

Tartes

fractions au même dénominateur

taille = 0.85 (slider from 0.3 to 1, step 0.05)
d = 6 (slider from 1 to 30, step 1)
n = 16 (slider from 1 to 50, step 1)
A = (-0.5457878145455312, -0.6707766947173861)
d2 = 18 (slider from 1 to 30, step 1)
n2 = 22 (slider from 0 to 50, step 1)
nc2: floor((n2 - 1) / d2) + 1
nc: floor((n - 1) / d) + 1
B: A + (taille * (floor((n - 1) / d) + 1, 0))
a = Segment(A, B)
u = Vector(A, B)
A_1: A - (0, a / Max[nc, nc2])
E = Translate(A_1, u)
distanceAB = Distance(A, B)
liste1 = Sequence(Point[a, i / nc], i, 0, nc - 1)
B' = Translate(B, u)
b = Segment(B, B')
liste12 = Sequence(Point[b, i / nc2], i, 0, nc2 - 1)
liste22 = Sequence(Circle[Element[liste12, i], (taille * a / ((2 * Max[nc, nc2])))], i, 1, nc2)
liste2 = Sequence(Circle[Element[liste1, i], (taille * a / ((2 * Max[nc, nc2])))], i, 1, nc)
c = Length(liste2)
e = Length(liste22)
nc_1: floor((n - 1) / d) + 1
nc2_1: floor((n2 - 1) / d2) + 1
B_1: E
distanceAB_1 = Distance(A_1, B_1)
a_1 = Segment(A_1, B_1)
liste1_1 = Sequence(Point[a_1, i / nc_1], i, 0, nc_1 - 1)
u_1 = Vector(A_1, B_1)
B'_1 = Translate(B_1, u_1)
b_1 = Segment(B_1, B'_1)
liste12_1 = Sequence(Point[b_1, i / nc2_1], i, 0, nc2_1 - 1)
liste22_1 = Sequence(Circle[Element[liste12_1, i], (taille * a_1 / ((2 * Max[nc_1, nc2_1])))], i, 1, nc2_1)
liste2_1 = Sequence(Circle[Element[liste1_1, i], (taille * a_1 / ((2 * Max[nc_1, nc2_1])))], i, 1, nc_1)
c_1 = Length(liste2_1)
e_1 = Length(liste22_1)
f = LCM(d, d2)
cond = If(d ≟ 1, 1, 0)
liste6 = Sequence(Element[liste2, i], i, 1, c - 1 + cond)
cond2 = If(d2 ≟ 1, 1, 0)
liste62 = Sequence(Element[liste22, i], i, 1, e - 1 + cond2)
condf = If(f ≟ 1, 1, 0)
liste62_1 = Sequence(Element[liste22_1, i], i, 1, e_1 - 1 + condf)
liste6_1 = Sequence(Element[liste2_1, i], i, 1, c_1 - 1 + condf)
nc_2: floor((n - 1) / d) + 1
nc_3: floor((n - 1) / d) + 1
nc_4: floor((n - 1) / d) + 1
nc2_2: floor((n2 - 1) / d2) + 1
nc_5: floor((n - 1) / d) + 1
nc2_3: floor((n2 - 1) / d2) + 1
f_1 = LCM(d, d2)
texte3_2: "\frac{" + (LaTeX[n]) + "}{" + LaTeX[d] + "}"
nc_6: floor((n - 1) / d) + 1
nc_7: floor((n - 1) / d) + 1
texte3_3: "\frac{" + (LaTeX[n2]) + "}{" + LaTeX[d2] + "}"
texte3: "\frac{" + (LaTeX[(n * f / d)]) + "}{" + LaTeX[f] + "}"
texte5: "\frac{" + (LaTeX[(n * f / d) + (n2 * f / d2)]) + "}{" + LaTeX[f] + "}"
texte6 = FractionText(n / d + n2 / d2)
texte3_1: "\frac{" + (LaTeX[(n2 * f / d2)]) + "}{" + LaTeX[f] + "}"
g2 = Numerator(n2 / d2)
h2 = Denominator(n2 / d2)
g = Numerator(n / d)
h = Denominator(n / d)
cn = 8
cd = 3
cn2 = 11
cd2 = 9
dn = 16
dd = 6
dn2 = 22
dd2 = 18
pré = false
i = true
j = true
k = true
l = true
m = true
liste3bis = Sequence(Point[a, i / nc] + ((taille * a / ((2 * Max[nc, nc2]))), 0), i, 0, nc - 1)
liste4 = Sequence(Sequence[Segment[Element[liste1, i], Rotate[Element[liste3bis, i], ((j * 360) * ° / d), Element[liste1, i]]], j, 0, d - 1], i, 1, c - 1)
liste5 = Sequence(CircleSector[Element[liste1, c], Rotate[Element[liste3bis, c], ((i * 360) * ° / d), Element[liste1, c]], Rotate[Element[liste3bis, c], (((i + 1) * 360) * ° / d), Element[liste1, c]]], i, 0, n - ((c - 1) * d) - 1)
liste32bis = Sequence(Point[b, i / nc2] + ((taille * b / ((2 * Max[nc, nc2]))), 0), i, 0, nc2 - 1)
liste42 = Sequence(Sequence[Segment[Element[liste12, i], Rotate[Element[liste32bis, i], ((j * 360) * ° / d2), Element[liste12, i]]], j, 0, d2 - 1], i, 1, e - 1)
liste52 = Sequence(CircleSector[Element[liste12, e], Rotate[Element[liste32bis, e], ((i * 360) * ° / d2), Element[liste12, e]], Rotate[Element[liste32bis, e], (((i + 1) * 360) * ° / d2), Element[liste12, e]]], i, 0, n2 - ((e - 1) * d2) - 1)
liste3_1bis = Sequence(Point[a_1, i / nc_1] + ((taille * a_1 / ((2 * Max[nc, nc2]))), 0), i, 0, nc_1 - 1)
liste4_1 = Sequence(Sequence[Segment[Element[liste1_1, i], Rotate[Element[liste3_1bis, i], ((j * 360) * ° / f), Element[liste1_1, i]]], j, 0, f - 1], i, 1, c_1 - 1)
liste5_1 = Sequence(CircleSector[Element[liste1_1, c_1], Rotate[Element[liste3_1bis, c_1], ((i * 360) * ° / f), Element[liste1_1, c_1]], Rotate[Element[liste3_1bis, c_1], (((i + 1) * 360) * ° / f), Element[liste1_1, c_1]]], i, 0, ((n - ((c_1 - 1) * d)) * f / d) - 1)
liste32_1bis = Sequence(Point[b_1, i / nc2_1] + ((taille * b_1 / ((2 * Max[nc, nc2]))), 0), i, 0, nc2_1 - 1)
liste42_1 = Sequence(Sequence[Segment[Element[liste12_1, i], Rotate[Element[liste32_1bis, i], ((j * 360) * ° / f), Element[liste12_1, i]]], j, 0, f - 1], i, 1, e_1 - 1)
liste52_1 = Sequence(CircleSector[Element[liste12_1, e_1], Rotate[Element[liste32_1bis, e_1], ((i * 360) * ° / f), Element[liste12_1, e_1]], Rotate[Element[liste32_1bis, e_1], (((i + 1) * 360) * ° / f), Element[liste12_1, e_1]]], i, 0, ((n2 - ((e_1 - 1) * d2)) * f / d2) - 1)