Base [AB]

Base [CB]

Base [AC]

Aire du triangle

Choisis une base

Remarque : tu peux déplacer le point A, et faire tourner la figure en prenant le point B,
si tu veux absolument avoir la base ''parallèle'' au sol.

A = (-0.4, -0.34)
AC = 6 (slider from 0 to 10, step 0.1)
BC = 4 (slider from 0 to 10, step 0.1)
AB = 5.5 (slider from 0 to 10, step 0.1)
B = Point(Circle[A, AB])
a = Segment(A, B)
c = Circle(A, AC)
d = Circle(B, BC)
C, D = Intersect(c, d)
b = Segment(C, A)
e = Segment(C, B)
f = Line(C, A)
g = Line(A, B)
h = Line(B, C)
i = OrthogonalLine(A, h)
j = OrthogonalLine(C, g)
k = OrthogonalLine(B, f)
E = Intersect(k, f)
F = Intersect(j, g)
G = Intersect(i, h)
l = Segment(E, B)
m = Segment(G, A)
n = Segment(C, F)
α = Angle(C, F, A)
β = Angle(B, E, C)
γ = Angle(A, G, B)
u = Vector(F, C)
A'_1 = Translate(A, u)
B'_1 = Translate(B, u)
poly1, a', a_1, b_1, b' = Polygon(A'_1, A, B, B'_1)
o = false
texte1: "Aire = AB x CF : 2 = " + AB + " x " + n + " : 2 = " + (AB * n / 2)
v = Vector(G, A)
C'_1 = Translate(C, v)
B' = Translate(B, v)
poly2, c_1, c', b'_1, b_2 = Polygon(C, C'_1, B', B)
p = false
q = false
w = Vector(E, B)
C' = Translate(C, w)
A' = Translate(A, w)
poly3, a_2, a'_1, c'_1, c_2 = Polygon(A, A', C', C)
texte5: "Aire = CB x AG : 2 = " + BC + " x " + m + " : 2 = " + (BC * m / 2)
texte6: "Aire = AC x BE : 2 = " + AC + " x " + l + " : 2 = " + (AC * l / 2)