1cm²

1cm²

1cm²

1cm²

1cm²

1cm²

1cm²

1cm²

a

b

D_1 = (0, 1)
E_1 = (1, 0)
C_1 = (1, 1)
A = (0, 0)
a = 4 (slider from 1 to 8, step 1)
b = 3 (slider from 1 to 6, step 1)
B: (a, 0)
C: (a, b)
D: (0, b)
Viereck, a_1, b_1, c, d = Polygon(A, B, C, D)
G_1: (a, 1)
E = (0, 0)
Z_1, e, f, g, h = Polygon(A, E_1, C_1, D_1)
C_2 = (2, 1)
E_2 = (2, 0)
Z_2, c_2, c_3, e_2, e_3 = Polygon(C_1, C_2, E_2, E_1)
C_3 = (3, 1)
E_3 = (3, 0)
Z_3, c_4, c_5, e_4, e_5 = Polygon(C_2, C_3, E_3, E_2)
C_4 = (4, 1)
E_4 = (4, 0)
Z_4, c_6, c_7, e_6, e_7 = Polygon(C_3, C_4, E_4, E_3)
C_5 = (5, 1)
E_5 = (5, 0)
Z_5, c_8, c_9, e_8, e_9 = Polygon(C_4, C_5, E_5, E_4)
C_6 = (6, 1)
E_6 = (6, 0)
Z_6, c_{10}, c_{11}, e_{10}, e_{11} = Polygon(C_5, C_6, E_6, E_5)
C_7 = (7, 1)
E_7 = (7, 0)
Z_7, c_{12}, c_{13}, e_{12}, e_{13} = Polygon(C_6, C_7, E_7, E_6)
C_8 = (8, 1)
E_8 = (8, 0)
Z_8, c_{14}, c_{15}, e_{14}, e_{15} = Polygon(C_7, C_8, E_8, E_7)
C_9 = (9, 1)
E_9 = (9, 0)
Z_9, c_{16}, c_{17}, e_{16}, e_{17} = Polygon(C_8, C_9, E_9, E_8)
C_{10} = (10, 1)
E_{10} = (10, 0)
Z_{10}, c_{18}, c_{19}, e_{18}, e_{19} = Polygon(C_9, C_{10}, E_{10}, E_9)
X_1 = If(a > 0, Z_1)
X_2 = If(a > 1, Z_2)
X_3 = If(a > 2, Z_3)
X_4 = If(a > 3, Z_4)
X_5 = If(a > 4, Z_5)
X_6 = If(a > 5, Z_6)
X_7 = If(a > 6, Z_7)
X_8 = If(a > 7, Z_8)
X_9 = If(a > 8, Z_9)
X_{10} = If(a > 9, Z_{10})
M_1 = Centroid(X_1)
M_2 = Centroid(X_2)
M_3 = Centroid(X_3)
M_4 = Centroid(X_4)
M_5 = Centroid(X_5)
M_6 = Centroid(X_6)
M_7 = Centroid(X_7)
M_8 = Centroid(X_8)
M_9 = Centroid(X_9)
M_{10} = Centroid(X_{10})
M_a = Midpoint(A, B)
T9: "Jede Reihe besteht aus " + a + " Quadraten, die jeweils 1cm² groß sind.
Daher hat jede Reihe einen Flächeninhalt von " + a + "cm²."
M_{a1} = Midpoint(A, M_a)
F: (a - 1, 0)
F_1: (a - 1, 1)
F_2: (a - 1, 2)
F_3: (a - 1, 3)
F_4: (a - 1, 4)
F_5: (a - 1, 5)
F_6: (a - 1, 6)
F_7: (a - 1, 7)
F_8: (a - 1, 8)
G_2: (a, 2)
G_3: (a, 3)
G_4: (a, 4)
G_5: (a, 5)
G_6: (a, 6)
G_7: (a, 7)
G_8: (a, 8)
i_1 = Segment(F, B)
j_1 = Segment(B, G_1)
k_1 = Segment(G_1, F_1)
l_1 = Segment(F_1, F)
j_2 = Segment(G_1, G_2)
k_2 = Segment(F_2, F_1)
l_2 = Segment(F_2, G_2)
j_3 = Segment(G_2, G_3)
k_3 = Segment(F_3, F_2)
l_3 = Segment(F_3, G_3)
j_4 = Segment(G_3, G_4)
k_4 = Segment(F_4, F_3)
l_4 = Segment(F_4, G_4)
j_5 = Segment(G_4, G_5)
k_5 = Segment(F_5, F_4)
l_5 = Segment(F_5, G_5)
j_6 = Segment(G_5, G_6)
k_6 = Segment(F_6, F_5)
l_6 = Segment(F_6, G_6)
j_7 = Segment(G_6, G_7)
k_7 = Segment(F_7, F_6)
l_7 = Segment(F_7, G_7)
j_8 = Segment(G_7, G_8)
k_8 = Segment(F_8, F_7)
l_8 = Segment(F_8, G_8)
n_2 = If(b > 1, j_2)
n_3 = If(b > 2, j_3)
n_4 = If(b > 3, j_4)
n_5 = If(b > 4, j_5)
n_6 = If(b > 5, j_6)
n_7 = If(b > 6, j_7)
n_8 = If(b > 7, j_8)
m_2 = If(b > 1, k_2)
m_3 = If(b > 2, k_3)
m_4 = If(b > 3, k_4)
m_5 = If(b > 4, k_5)
m_6 = If(b > 5, k_6)
m_7 = If(b > 6, k_7)
m_8 = If(b > 7, k_8)
o_2 = If(b > 1, l_2)
o_3 = If(b > 2, l_3)
o_4 = If(b > 3, l_4)
o_5 = If(b > 4, l_5)
o_6 = If(b > 5, l_6)
o_7 = If(b > 6, l_7)
o_8 = If(b > 7, l_8)
M_b = Midpoint(B, C)
text3: "In das Rechteck passen " + b + " Reihen, 
die jeweils " + a + "cm² groß sind.
Insgesamt hat das Rechteck also einen
Flächeninhalt von " + b + "·" + a + "cm² = " + Viereck + "cm²."