Question suivante

\mbox{Réponse :}

Démarrer l'exercice ...

Valider

A = (-31.601375900211263, 0.06480478303229953)
n = Random(3, 20)
liste2 = Sequence(i, i, 3, 8)
L_3 = RandomElement(liste2)
liste1 = Sequence(i, i, 2, 8)
L_2 = RandomElement(liste1)
L_1 = RandomElement(liste1)
C = Rotate(A + (0, L_2), π / n, A)
B = Rotate(A + (L_1, 0), π / n, A)
poly1, b, a, c = Polygon(A, C, B)
α = Angle(B, A, C)
liste3: {"A", "B", "C", "D", "E", "F", "G", "H", "K", "L", "M", "N"}
S_1 = RandomElement(liste3)
S_2 = RandomElement(Remove[liste3, {S_1}])
S_3 = RandomElement(Remove[liste3, {S_1, S_2}])
B' = Rotate(A + (L_2, 0) + (4, 0), π / n, A)
type = Random(1, 2)
e = Semicircle(A, B')
C' = Intersect(e, Circle[A, L_2])
poly2, c', a_1, b' = Polygon(A, B', C')
texte10: "" + S_3 + ""
texte11: "" + S_2 + ""
β = Angle(A, C', B')
prop = NaN
ChampTexte1 = Textfield(txt_{prop})
texte1: "\mbox{Dans le triangle " + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + ", rectangle en " + (LaTeX[S_1]) + ", on a :
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "=" + (LaTeX[c]) + " et " + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "=" + (LaTeX[b]) + ".
\\Calculer la longueur " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + " arrondie à 10^{-2}.}"
texte20: "\mbox{ma réponse est : }" + (LaTeX[prop]) + ""
essais = 3
max: 5
score = 0
texte9: "\mbox{Dans le triangle  " + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + ", rectangle en " + (LaTeX[S_3]) + ", on a :
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "=" + (LaTeX[c']) + " et " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "=" + (LaTeX[a_1]) + "
\\Calculer la longueur " + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + " arrondie à 10^{-2} .}"
corriger = true
juste = false
stop = false
rep: round(If[type ≟ 1, Segment[B, C], Segment[A, C']], 2)
accueil: true
texte21: "\mbox{Score : }" + (LaTeX[score]) + "/" + (LaTeX[essais]) + ""
texte2: "\mbox{Le triangle " + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + " est rectangle en " + (LaTeX[S_1]) + "
\\D'après le théorème de Pythagore :
\\       " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "² = " + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "² +" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "²
\\ " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "^2= " + (LaTeX[c]) + "^2+" + (LaTeX[b]) + "^2
\\ " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "^2=" + (LaTeX[c^(2)]) + " + " + (LaTeX[b^(2)]) + " = " + (LaTeX[c^(2) + b^(2)]) + "
\\ " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + " = \sqrt{" + (LaTeX[c^(2) + b^(2)]) + "}≈ " + (LaTeX[rep]) + "
}"
texte12: "\mbox{Le triangle " + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + " est rectangle en " + (LaTeX[S_3]) + "
\\D'après le théorème de pythagore :
\\         " + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "^2=" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "^2+" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "^2
\\" + (LaTeX[c']) + "^2=" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "^2+" + (LaTeX[a_1]) + "^2 , donc " + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "^2=" + (LaTeX[c']) + "^2-" + (LaTeX[a_1]) + "^2
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "^2=" + (LaTeX[c'^(2)]) + "-" + (LaTeX[a_1^(2)]) + "=" + (LaTeX[c'^(2) - a_1^(2)]) + "
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "=\sqrt{" + (LaTeX[c'^(2) - a_1^(2)]) + "}
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "=" + (LaTeX[rep]) + "
}"
grade: score