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-abs})
prop_{abs} = NaN
score = 0
essais = 1
juste = false
max: 5
stop = false
texte3: "\mbox{Score : }" + (LaTeX[score]) + " / " + (LaTeX[essais]) + ""
rep = Vector(A, B)
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}])
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 les coordonnées du vecteur \overrightarrow{" + (LaTeX[P_1]) + "" + (LaTeX[P_2]) + "  }}"
prop_{ord} = NaN
prop_{haut} = NaN
ChampTexte2 = Textfield(txt_{prop-ord})
texte2: "\mbox{Ma réponse est : } \left( \begin{array}{c}" + (LaTeX[prop_{abs}]) + " \\" + (LaTeX[prop_{ord}]) + " \\" + (LaTeX[prop_{haut}]) + "
\end{array} \right)"
ChampTexte3 = Textfield(txt_{prop-haut})
prop = Vector((prop_{abs}, prop_{ord}, prop_{haut}))
texte5: "\\  \ \overrightarrow{" + (LaTeX[P_1]) + " " + (LaTeX[P_2]) + "}\left(  \begin{array}{c} x_" + (LaTeX[P_2]) + "  - x_" + (LaTeX[P_1]) + "  \\ y_" + (LaTeX[P_2]) + " - y_" + (LaTeX[P_1]) + "  \\ z_" + (LaTeX[P_2]) + "  - z_" + (LaTeX[P_1]) + "  \end{array}\right)
\\  \ \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[rep]) + ""
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)))