calcul algébrique du premier degré (2)

-3x+2

Nouvelle question

-3x+2

r

Valider cette réponse

Voir les étapes des calculs

Votre réponse : 

Mathématiques à Valin

raz

Commencer la série d'exercices

Voici la solution avec les étapes détaillées :

\text{Dernier exercice}

d = 2 (slider from -5 to 5, step 1)
c = -2 (slider from -5 to 5, step 1)
k = 2
kcd: c + (k * d)
b = -1 (slider from -5 to 5, step 1)
a = -1 (slider from -5 to 5, step 1)
ab: a + (k * b)
textax = If(a ≟ 1, "x", If[a ≟ -1, "-x", a + "x"])
textc = If(c > 0, "+" + c, If[c  <  0, "" + c, ""])
textbx = If(b ≟ 1, "x", If[b ≟ -1, "-x", If[b > 0, "" + b + "x", b + "x"]])
textd = If(d > 0, ("+" * d), "" + d)
bc_1: b + c
bc_2: b + c
signb = If(b > 0, "+", "")
cd: d + (k * c)
signkcd = If(kcd > 0, "+", "")
textabx = If(ab ≟ 1, "x", If[ab ≟ -1, "-x", ab + "x"])
repattendue: "" + (textabx + signkcd + kcd) + ""
ChampTexte1 = Textfield(reponse)
texte5: "A=" + (LaTeX[reponse]) + ""
test = false
juste: test ∧ reponse ≟ repattendue
voir = false
gain = 0
score = 0
numexo = 1
A = (0.17272727272727267, 1.6963636363636363)
B = (0.7363636363636363, 1.6963636363636363)
C = (2.8090909090909095, 1.678181818181818)
D = (3.3909090909090907, 1.678181818181818)
texte7: "Score : " + score + " / " + numexo + ""
debut = false
pos1 = IndexOf(" ", reponseaux)
aprespos = Take(reponseaux, pos1 + 1)
avantpos = Take(reponseaux, 1, pos1 - 1)
textk = If(k ≟ -1, "-", If[k > 1, "+" + k, "" + k])
texte1: "A=" + (LaTeX[textax]) + "" + (LaTeX[textc]) + "" + (LaTeX[textk]) + "(" + (LaTeX[textbx]) + "" + (LaTeX[textd]) + ")"
kb: (k * b)
kd: (k * d)
textkbx = If(kb ≟ 1, "+x", If[kb ≟ -1, "-x", If[kb > 0, "+" + kb + "x", kb + "x"]])
textkd = If(kd > 0, ("+" * kd), "" + kd)
texte2: "A=" + (LaTeX[textax]) + "" + (LaTeX[textkbx]) + "" + (LaTeX[textc]) + "" + (LaTeX[textkd]) + ""
texte9: "A=" + (LaTeX[textax]) + "" + (LaTeX[textc]) + "" + (LaTeX[textkbx]) + "" + (LaTeX[textkd]) + ""
signkb = If(kb > 0, "+", "")
texte10 = If(kcd > 0, "+", "")
texte3: "A=(" + (LaTeX[a]) + "" + (LaTeX[signkb]) + "" + (LaTeX[kb]) + ")x" + (LaTeX[signkcd]) + "" + (LaTeX[kcd]) + ""
texte4: "A=" + (LaTeX[textabx]) + "" + (LaTeX[signkcd]) + "" + (LaTeX[kcd]) + ""
grade: score
notemax: 20