Démarrer l'exercice…

\mbox{Calculer la quatrième proportionnelle p
\ (arrondir la valeur de p à 10^{-1}) :}

\mbox{Réponse : }

Valider

Question suivante…

\mbox{En appliquant la règle du produit en croix, 
\
nous pouvons écrire : }

prop = NaN
liste1 = Sequence(i, i, -100, 100)
L1 = Sequence(RandomElement[Remove[liste1, {0}]], i, 1, 3)
n = Random(1, 4)
L2 = Insert({prop}, L1, n)
r = If(n ≟ 1, (L2(2) * L2(3) / L2(4)), If[n ≟ 2, (L2(1) * L2(4) / L2(3)), If[n ≟ 3, (L2(1) * L2(4) / L2(2)), (L2(2) * L2(3) / L2(1))]])
a = RandomElement(Remove[liste1, {0}])
c = RandomElement(Remove[liste1, {0, a}])
b = RandomElement(Remove[liste1, {0, a, c}])
accueil: true
ChampTexte1 = Textfield(txt_prop)
score = 3
essais = 4
juste = true
max: 5
stop = false
texte3: "\mbox{Score : }" + (LaTeX[score]) + " / " + (LaTeX[essais]) + ""
rep: round(r, 1)
corriger = false
grade: score
t = Defined(prop)
tx1 = Text(L2(1))
tx2 = Text(L2(2))
tx3 = Text(L2(3))
tx4 = Text(L2(4))
texte2: "\mbox{p×" + (LaTeX[L2(4)]) + "=" + (LaTeX[L2(2)]) + "×" + (LaTeX[L2(3)]) + "
\\donc p=\frac{" + (LaTeX[L2(2)]) + "×" + (LaTeX[L2(3)]) + "}{" + (LaTeX[L2(4)]) + "}
\\p=" + (LaTeX[rep]) + "}"
texte4: "\mbox{p×" + (LaTeX[L2(3)]) + "=" + (LaTeX[L2(1)]) + "×" + (LaTeX[L2(4)]) + "
\\donc p=\frac{ " + (LaTeX[L2(1)]) + "× " + (LaTeX[L2(4)]) + "}{ " + (LaTeX[L2(3)]) + "}
\\p= " + (LaTeX[rep]) + "}"
texte7: "\mbox{p×" + (LaTeX[L2(2)]) + "=" + (LaTeX[L2(1)]) + "×" + (LaTeX[L2(4)]) + "
\\donc   p=\frac{" + (LaTeX[L2(1)]) + "  ×" + (LaTeX[L2(4)]) + "  }{ " + (LaTeX[L2(2)]) + " }
\\ p = " + (LaTeX[rep]) + " }"
texte9: "\mbox{" + (LaTeX[L2(1)]) + "×p=" + (LaTeX[L2(2)]) + "×" + (LaTeX[L2(3)]) + "
\\donc p =\frac{" + (LaTeX[L2(2)]) + " ×" + (LaTeX[L2(3)]) + " }{" + (LaTeX[L2(1)]) + "}
\\  p = " + (LaTeX[rep]) + "  }"
txp = Text(prop)
texte8: "\begin{tabular}{|c|c|}
\hline " + (LaTeX[If[n ≠ 1, tx1, If[t, txp, "p"]]]) + " &" + (LaTeX[If[n ≠ 2, tx2, If[t, txp, "p"]]]) + " \\
\hline " + (LaTeX[If[n ≠ 3, tx3, If[t, txp, "p"]]]) + " & " + (LaTeX[If[n ≠ 4, tx4, If[t, txp, "p"]]]) + " \\
\hline
\end{tabular}"