algebre de base 3

Nouvelle question

rep

5/3x

/6x+7/5

Valider cette réponse

\text{Le signe du coefficient de } x \text{ est faux.}

\text{Vous devez simplifier le coefficient de }x.

\text{Le signe de la constante est faux.}

\text{Le coefficient de }x\text{ n'est pas valable.}

\text{La constante n'est pas valable.}

\text{Vous devez simplifier la constante.}

Voir la solution détaillée

Saisir votre réponse ci-dessous:

 Réponse
non valable

Commencer la série d'exercices

Mathématiques à Valin

RAZ

A=

Votre réponse :

Voici la solution et les calculs détaillés :

\text{Dernier exercice}

αreponse = 0.6
posx = IndexOf("x", reponse)
m1 = Take(reponse, 1, posx - 1)
possm1 = IndexOf("-", m1)
signm1 = If(possm1 ≟ 1, Take[m1, 1, 1], "")
mm1 = If(possm1 ≟ 1, Take[m1, 2], m1)
na = 5
da = 3
nc = 4
dc = 5
pac = LCM(da, dc)
na': (na * pac / da)
nc': (nc * pac / dc)
sa = -1
a: (sa * na / da)
sc = 1
αn: (sa * na') + (sc * nc')
tsα = If(αn  <  0, "-", "")
kα = GCD(αn, pac)
ddα: pac / kα
nnα: abs(αn / kα)
c: (sc * nc / dc)
α: a + c
absα: abs(α)
texteα = If(IsInteger[α], If[absα ≟ 1, "", "" + absα], "\frac{" + nnα + "}{" + ddα + "}")
posα1 = IndexOf("}{", texteα)
new1α = If(Defined[posα1], Take[texteα, 1, posα1 - 1] + "/" + (Take[texteα, posα1 + 2]), texteα)
posfracα = IndexOf("\frac{", new1α)
new2α = If(Defined[posfracα], Take[new1α, 7], new1α)
posα3 = IndexOf("}", new2α)
new3α = If(Defined[posα3], Take[new2α, 1, posα3 - 1], new2α)
αjuste: tsα + new3α ≟ signm1 + mm1
nb = 5
db = 2
nd = 1
dd = 2
sb = -1
sd = 1
b: (sb * nb / db)
d: (sd * nd / dd)
ka = GCD(na, da)
kb = GCD(nb, db)
kc = GCD(nc, dc)
kd = GCD(nd, dd)
ta = If(da ≟ 1, "" + na, "\frac{" + na + "}{" + da + "}")
tb = If(db ≟ 1, "" + nb, "\frac{" + nb + "}{" + db + "}")
tc = If(dc ≟ 1, "" + nc, "\frac{" + nc + "}{" + dc + "}")
td = If(dd ≟ 1, "" + nd, "\frac{" + nd + "}{" + dd + "}")
tsa = If(sa ≟ -1, "-", "")
tsb = If(sb ≟ -1, "-", "+")
tsc = If(sc ≟ -1, "-", "+")
tsd = If(sd ≟ -1, "-", "+")
texte1: "A=" + (LaTeX[tsa]) + "" + (LaTeX[ta]) + "x" + (LaTeX[tsb]) + "" + (LaTeX[tb]) + "" + (LaTeX[tsc]) + "" + (LaTeX[tc]) + "x" + (LaTeX[tsd]) + "" + (LaTeX[td]) + ""
texte2: "A=\left(" + (LaTeX[tsa]) + "" + (LaTeX[ta]) + "" + (LaTeX[tsc]) + "" + (LaTeX[tc]) + "\right)x" + (LaTeX[tsb]) + "" + (LaTeX[tb]) + "" + (LaTeX[tsd]) + "" + (LaTeX[td]) + ""
pbd = LCM(db, dd)
nb': (nb * pbd / db)
nd': (nd * pbd / dd)
β: b + d
texte3: "A=\left(" + (LaTeX[tsa]) + "\dfrac{" + (LaTeX[na']) + "}{" + (LaTeX[pac]) + "}" + (LaTeX[tsc]) + "\frac{" + (LaTeX[nc']) + "}{" + (LaTeX[pac]) + "\right)x" + (LaTeX[tsb]) + "\frac{" + (LaTeX[nb']) + "}{" + (LaTeX[pbd]) + "}" + (LaTeX[tsd]) + "\frac{" + (LaTeX[nd']) + "}{" + (LaTeX[pbd]) + "}"
βn: (sb * nb') + (sd * nd')
sα = If(α  <  0, -1, 1)
sβ = If(β  <  0, -1, 1)
kβ = GCD(βn, pbd)
αd: (α * d)
ddβ: pbd / kβ
nnβ: abs(βn / kβ)
texte4 = If(βn  <  0, "-", "+")
tsβ = If(βn  <  0, "-", "+")
absβ: abs(β)
texteβ = If(IsInteger[β], "" + absβ, "\frac{" + nnβ + "}{" + ddβ + "}")
texte5: "A=" + (LaTeX[tsα]) + "" + (LaTeX[texteα]) + "x" + (LaTeX[tsβ]) + "" + (LaTeX[texteβ]) + ""
α1 = -0.8666666666666667
β1 = -2
pos1β = IndexOf("}{", texteβ)
new1β = If(Defined[pos1β], Take[texteβ, 1, pos1β - 1] + "/" + (Take[texteβ, pos1β + 2]), texteβ)
posfracβ = IndexOf("\frac{", new1β)
new2β = If(Defined[posfracβ], Take[new1β, 7], new1β)
posβ3 = IndexOf("}", new2β)
new3β = If(Defined[posβ3], Take[new2β, 1, posβ3 - 1], new2β)
solutionattendue: tsα + new3α + "x" + tsβ + new3β
ChampTexte1 = Textfield(reponse)
pospar1 = NaN
pospar2 = NaN
posetoile = NaN
m2 = Take(reponse, posx + 1)
possm2 = IndexOf("-", m2)
possm3 = IndexOf("+", m2)
mm2 = If(possm2 ≟ 1 ∨ possm3 ≟ 1, Take[m2, 2], m2)
signm2 = If(possm2 ≟ 1 ∨ possm3 ≟ 1, Take[m2, 1, 1], "")
posbarrem1 = IndexOf("/", mm1)
coef1: "" + signm1 + "\dfrac{" + (Take[mm1, 1, posbarrem1 - 1]) + "}{" + (Take[mm1, posbarrem1 + 1]) + "}"
coeff1 = If(Defined[posbarrem1], coef1, m1)
posbarrem2 = IndexOf("/", mm2)
coef2: "" + signm2 + "\dfrac{" + (Take[mm2, 1, posbarrem2 - 1]) + "}{" + (Take[mm2, posbarrem2 + 1]) + "}"
coeff2 = If(Defined[posbarrem2], coef2, m2)
reponsetex: "A=" + (LaTeX[coeff1]) + "x" + (LaTeX[coeff2]) + ""
posvide = NaN
juste: solutionattendue ≟ reponse
αasimplifier: α ≟ αreponse ∧ (¬αjuste)
βreponse = 0.2
βjuste: tsβ + new3β ≟ signm2 + mm2
βasimplifier: β ≟ βreponse ∧ (¬βjuste)
signαfaux: (¬αjuste) ∧ α ≟ (-αreponse)
test = false
signβfaux: (¬βjuste) ∧ β ≟ (-βreponse)
voirreponse = false
unefaute = false
gain = 0
score = 0
numexo = 1
debut = false
texte14: "Score : " + score + " / " + numexo + ""
grade: score
notemax: 20