Démarrer exercice…

\mbox{Réponse : }

Valider

Question suivante…

accueil: true
B: (Random[-4, 4], Random[-4, 4], Random[-4, 4])
A: (Random[-4, 4], Random[-4, 4], Random[-4, 4])
l_{possible} = Sequence(-5, 5)
c = RandomElement(Remove[l_{possible}, {0}])
b = RandomElement(l_{possible})
a = RandomElement(l_{possible})
ChampTexte1 = Textfield(txt_{prop})
prop = NaN
score = 2
essais = 3
juste = true
max: 5
stop = false
texte3: "\mbox{Score : }" + (LaTeX[score]) + " / " + (LaTeX[essais]) + ""
rep: round(Length[Vector[A, B]], 2)
corriger = false
grade: score
l_{lettres}: {"A", "B", "C", "D", "E", "F", "G", "H", "K", "L", "M", "N", "P", "Q", "R", "S", "T"}
P_1 = RandomElement(l_{lettres})
P_2 = RandomElement(Remove[l_{lettres}, {P_1}])
seg_3 = Segment((x(B), y(B), z(A)), (x(B), y(B), z(B)))
seg_2 = Segment((x(A), y(B), z(A)), (x(B), y(B), z(A)))
seg_1 = Segment(A, (x(A), y(B), z(A)))
texte2: "\mbox{Ma réponse est : }||\overrightarrow{" + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + "}|| = " + (LaTeX[prop]) + ""
texte5: "\\  \ \overrightarrow{ " + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + " }\left(  \begin{array}{c} " + (LaTeX[x(B)]) + "   - " + (LaTeX[x(A)]) + "   \\ " + (LaTeX[y(B)]) + "  - " + (LaTeX[y(A)]) + "   \\ " + (LaTeX[z(B)]) + "   - " + (LaTeX[z(A)]) + "   \end{array}\right)
\\  \ \overrightarrow{" + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + "}" + (LaTeX[Vector[A, B]]) + "
\\ ||\overrightarrow{ " + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + " }|| = \sqrt{( " + (LaTeX[x(Vector[A, B])]) + ")^2+(" + (LaTeX[y(Vector[A, B])]) + ")^2+(" + (LaTeX[z(Vector[A, B])]) + ")^2}
\\ ||\overrightarrow{" + (LaTeX[P_1]) + "  " + (LaTeX[P_2]) + "}|| = \sqrt{" + (LaTeX[x(Vector[A, B])^(2)]) + "+" + (LaTeX[y(Vector[A, B])^(2)]) + "+" + (LaTeX[z(Vector[A, B])^(2)]) + "}
\\ ||\overrightarrow{" + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + "}|| = \sqrt{" + (LaTeX[x(Vector[A, B])^(2) + y(Vector[A, B])^(2) + z(Vector[A, B])^(2)]) + "}≈" + (LaTeX[rep]) + ""
txt_enonce: "\mbox{Le point " + (LaTeX[P_1]) + "  a  pour coordonnées " + (LaTeX[A]) + "  .
\\Le point " + (LaTeX[P_2]) + " a pour coordonnées " + (LaTeX[B]) + ".
\\Calculer la norme arrondie à 10^{-2} du vecteur \overrightarrow{" + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + "  }}"
u = Vector(A, B)