Forme

Nombre

Aire

Aire Totale

1

Pertes =

Nombre de cercle:

Longueur du côté du carré:

a = 1 (slider from 1 to 10, step 1)
z = If(a ≥ 2.0, a, 2.0)
c, b, d, e, f = Polygon((0.0, 0.0), (4.0, 0.0), (4.0, 4.0), (0.0, 4.0))
Centres = Sequence(Sequence[(b / z / 2.0 + i * b / z, b / z / 2.0 + j * b / z), i, 0.0, z - 1.0], j, 0.0, z - 1.0)
Cercles = Sequence(Sequence[Circle[Element[Element[Centres, i], j], b / z / 2.0], i, 0.0, z], j, 0.0, z)
liste1 = Sequence(Sequence[Circle[Element[Element[Centres, i], j], b / z / 2.0], i, 0.0, z], j, 0.0, z)
A = (0, -2)
B = (8, -2)
g = Segment(A, B)
G = (0, -1)
H = (0, -6)
h = Segment(G, H)
I = (2, -1)
J = (2, -6)
i = Segment(I, J)
K = (4, -1)
L = (4, -6)
j = Segment(K, L)
M = (6, -1)
N = (6, -8)
k = Segment(M, N)
O = (8, -1)
P = (8, -8)
l = Segment(O, P)
Q = Point(h)
R = Point(l)
m = Segment(Q, R)
S = (2.4, -2.4)
T = (3.6, -2.4)
U = (3.6, -3.6)
V = (2.4, -3.6)
poly2, s, t, u, v = Polygon(S, T, U, V)
cote = 4.2 (slider from 0.5 to 5, step 0.1)
W = (3, -5)
p = Circle(W, 0.4)
texte6: z * z + ""
texte7: cote * cote + ""
texte8: cote * cote + ""
Z = (2, 4.2)
A_1 = (0, 4.2)
w = Vector(Z, A_1)
B_1 = (4, 4.2)
n = Vector(Z, B_1)
C_1 = (-0.2, 2)
D_1 = (-0.2, 4)
q = Vector(C_1, D_1)
E_1 = (-0.2, 0)
r = Vector(C_1, E_1)
texte11: "" + cote
texte12: "" + cote
F_1: (b / z / 2.0, b / z / 2.0)
G_1: (b / z, b / z / 2.0)
a_1 = Segment(F_1, G_1)
H_1 = Midpoint(F_1, G_1)
I_1 = (0.8223724322739877, -0.27089711544007844)
b_1 = Segment(I_1, H_1)
texte13: "rayon = " + (cote / z / 2.0)
K_1 = Point(l)
f_1 = Segment(H, K_1)
g_1 = Segment(N, P)
texte15: cote * cote - z * z * cote / z / 2.0 * cote / z / 2.0 * 3.141592653589793 + ""
texte9: " " + (cote / z / 2.0 * cote / z / 2.0) + "π
     =
 " + (cote / z / 2.0 * cote / z / 2.0 * 3.141592653589793)
texte10: " " + (z * z * cote / z / 2.0 * cote / z / 2.0) + "π
    =
 " + (z * z * cote / z / 2.0 * cote / z / 2.0 * 3.141592653589793) + ""