Aire =

Parallélogramme

Triangle

Les deux

a = 24
A = (-16, 2)
B = (2, 2)
b = Line(A, B)
C = Point(b)
D = Point(b)
c = Segment(C, D)
h_p: a / c
E = Point(b)
e = Circle(E, h_p)
d = OrthogonalLine(E, b)
F = Intersect(e, d, 2)
f = Line(F, b)
G = Point(f)
q = OrthogonalLine(G, b)
O = Intersect(b, q)
h_t: h_p * 2
k = Circle(E, h_t)
K = Intersect(k, d, 2)
l = Line(K, b)
L = Point(l)
p = OrthogonalLine(L, b)
N = Intersect(p, b)
ChampTexte1 = Textfield(a)
g = Segment(D, G)
h = Line(C, g)
H = Intersect(f, h)
poly1, c_1, d_1, g_1, h_1 = Polygon(C, D, G, H)
I = Point(b)
i = OrthogonalLine(I, b)
J = Intersect(f, i)
poly2, d_2, c_2, l_1 = Polygon(C, L, D)
M = Intersect(i, l)
n = 3 (slider from 1 to 3, step 1)
j = Segment(G, O)
texte2: "Aire = " + c + " · " + j + " = " + poly1 + " cm²"
m = Segment(L, N)
texte3: "Aire = (" + c + " · " + m + ") : 2 =" + poly2 + " cm²"