Démarrer l'exercice…

Question suivante…

Valider

\mbox{Réponse:}

\mbox{BRAVO  !}

D = (16.732757675152605, -8.162798381546434)
ζ = RandomUniform(0, 3)
liste1 = Sequence(2 - (i * 0.1), i, 0, 6)
R_1 = Random(15, 18)
liste2 = Sequence(-2 + (i * 0.1), i, 1, 6)
l_2: Random[15, 30] / 10
l_1: Random[15, 30] / 10
L_1: RandomElement[liste1] + 1
β: π / Random[2, 5]
L_2 = RandomElement(Remove[Union[liste1, liste2], {-1.2, -1.1, -1, -0.9, -0.8, 0.8, 0.9, 1, 1.1, 1.2}])
liste3: {"A", "B", "C", "D", "E", "F", "G", "H", "K", "L", "M", "N", "P", "Q", "R", "S", "T"}
S_1 = RandomElement(liste3)
S_2 = RandomElement(Remove[liste3, {S_1}])
S_3 = RandomElement(Remove[liste3, {S_1, S_2}])
S_4 = RandomElement(Remove[liste3, {S_1, S_2, S_3}])
S_5 = RandomElement(Remove[liste3, {S_1, S_2, S_3, S_4}])
R_2 = Random(10, 18)
F = Rotate(D + (R_2, 0), ζ + β, D)
E = Rotate(D + (R_1, 0), ζ, D)
poly2, f, d_1, e_1 = Polygon(D, E, F)
D' = Dilate(D, L_2, D)
E' = Dilate(E, L_2, D)
F' = Dilate(F, L_2, D)
poly2', f', d', e' = Polygon(D', E', F')
cas = Random(1, 2)
score = 0
essais = 0
juste = false
corriger = false
max: 5
prop = NaN
accueil: true
stop = false
texte14: "\mbox{Ma réponse est : " + (LaTeX[If[cas ≟ 1, S_1, S_2]]) + "" + (LaTeX[If[cas ≟ 1, S_5, S_3]]) + "=" + (LaTeX[prop]) + "}"
texte15: "\mbox{Score : } " + (LaTeX[score]) + " /  " + (LaTeX[essais]) + ""
texte7: "\mbox{Dans la figure ci-contre, ( " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + " )//(" + (LaTeX[S_4]) + "" + (LaTeX[S_5]) + "  ).
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "= " + (LaTeX[e_1]) + " ;   " + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + "= " + (LaTeX[e']) + " ; " + (LaTeX[S_4]) + "" + (LaTeX[S_5]) + "=  " + (LaTeX[d']) + ";
\\Calculer la longueur " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + " arrondie à 10^{-2}}"
texte1: "\mbox{Dans la figure ci-contre ,(" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + ")//(" + (LaTeX[S_4]) + "" + (LaTeX[S_5]) + ").
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "=" + (LaTeX[f]) + "  ; " + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "=" + (LaTeX[e_1]) + " ; " + (LaTeX[S_1]) + "" + (LaTeX[S_4]) + "=" + (LaTeX[f']) + " ;
\\Calculer la longueur " + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + " arrondie à 10^{-1}.}"
rep: round(Length[If[cas ≟ 2, d_1, e']], 1)
texte2: "\mbox{\frac{" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[S_4]) + "" + (LaTeX[S_5]) + "} =\frac{" + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_4]) + "}=\frac{" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + "}
\\\frac{" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[S_4]) + "" + (LaTeX[S_5]) + "} =\frac{" + (LaTeX[f]) + "}{" + (LaTeX[f']) + "}= \frac{" + (LaTeX[e_1]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + "}
\\\frac{" + (LaTeX[f]) + "}{" + (LaTeX[f']) + "}= \frac{" + (LaTeX[e_1]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + "}
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + "×" + (LaTeX[f]) + "=" + (LaTeX[e_1]) + "×" + (LaTeX[f']) + "
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + " = \frac{" + (LaTeX[e_1]) + "×" + (LaTeX[f']) + "}{" + (LaTeX[f]) + "}
\\" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + " = " + (LaTeX[rep]) + "}"
texte8: "\mbox{ \frac{ " + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[S_4]) + "" + (LaTeX[S_5]) + "}= \frac{" + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_4]) + "} = \frac{" + (LaTeX[S_1]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_5]) + "}
\\\frac{" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[d']) + "}= \frac{" + (LaTeX[S_1]) + "" + (LaTeX[S_2]) + "}{" + (LaTeX[S_1]) + "" + (LaTeX[S_4]) + "} = \frac{" + (LaTeX[e_1]) + "}{" + (LaTeX[e']) + "}
\\\frac{" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "}{" + (LaTeX[d']) + "}= \frac{" + (LaTeX[e_1]) + "}{" + (LaTeX[e']) + " }
\\" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "=\frac{" + (LaTeX[e_1]) + "×" + (LaTeX[d']) + "}{" + (LaTeX[e']) + "}
\\" + (LaTeX[S_2]) + "" + (LaTeX[S_3]) + "=" + (LaTeX[rep]) + "

}"