Brüche multiplizieren
Author: Mag.G.Wengler

Zwei Brüche jeweils mit Zähler und Nenner einstellen.Die Grafik zeigt, wie das Produkt ermittelt wird.

Bruch 1

Bruch 2

Zähler = %v

Nenner = %v

Zähler = %v

Nenner = %v

mal

z_1 = 4 (slider from 1 to n_1, step 1)
n_1 = 5 (slider from 1 to 20, step 1)
z_2 = 2 (slider from 1 to n_2, step 1)
n_2 = 3 (slider from 1 to 20, step 1)
Vieleck1, a, b, c, d = Polygon((0, 0), (5, 0), (5, 5), (0, 5))
Vieleck2, e, f, g, h = Polygon((6, 0), (11, 0), (11, 5), (6, 5))
S_1 = Sequence(Segment[(0, i * 5 / n_1), (5, i * 5 / n_1)], i, 1, n_1 - 1)
Z_1 = Sequence(Polygon[(0, i * 5 / n_1), (5, i * 5 / n_1), (5, (i + 1) * 5 / n_1), (0, (i + 1) * 5 / n_1)], i, 0, z_1 - 1)
Z_2 = Sequence(Polygon[(6 + i * 5 / n_2, 0), (6 + i * 5 / n_2, 5), (6 + (i + 1) * 5 / n_2, 5), (6 + (i + 1) * 5 / n_2, 0)], i, 0, z_2 - 1)
S_2 = Sequence(Segment[(6 + i * 5 / n_2, 0), (6 + i * 5 / n_2, 5)], i, 1, n_2 - 1)
Text3: "$ \frac{" + (LaTeX[z_1]) + "}{" + (LaTeX[n_1]) + "} $"
Text4: "$ \frac{" + (LaTeX[z_2]) + "}{" + (LaTeX[n_2]) + "} $"
Vieleck3, i, j, k, l = Polygon((3, -8), (8, -8), (8, -3), (3, -3))
S_3 = Sequence(Segment[(3, -8 + i * 5 / n_1), (8, -8 + i * 5 / n_1)], i, 1, n_1 - 1)
Z_3 = Sequence(Polygon[(3, -8 + i * 5 / n_1), (8, -8 + i * 5 / n_1), (8, -8 + (i + 1) * 5 / n_1), (3, -8 + (i + 1) * 5 / n_1)], i, 0, z_1 - 1)
S_4 = Sequence(Segment[(3 + i * 5 / n_2, -8), (3 + i * 5 / n_2, -3)], i, 1, n_2 - 1)
Z_4 = Sequence(Polygon[(3 + i * 5 / n_2, -8), (3 + i * 5 / n_2, -3), (3 + (i + 1) * 5 / n_2, -3), (3 + (i + 1) * 5 / n_2, -8)], i, 0, z_2 - 1)
Z = Sequence(Sequence[Polygon[(3 + j * 5 / n_2, -8 + i * 5 / n_1), (3 + (j + 1) * 5 / n_2, -8 + i * 5 / n_1), (3 + (j + 1) * 5 / n_2, -8 + (i + 1) * 5 / n_1), (3 + j * 5 / n_2, -8 + (i + 1) * 5 / n_1)], j, 0, z_2 - 1], i, 0, z_1 - 1)
Text6: "$\frac{" + (LaTeX[z_1]) + "}{" + (LaTeX[n_1]) + "} ·\frac{" + (LaTeX[z_2]) + "}{" + (LaTeX[n_2]) + "} =\frac{" + (LaTeX[z_1 * z_2]) + "}{" + (LaTeX[n_1 * n_2]) + "} $"