Réponse:

Afficher cette réponse

Vous devez effectuer tous les calculs.

Vous devez simplifier votre fraction

Valider cette réponse

Juste

Faux

RAZ

Nouvel exercice

Voir la solution

Commencer la série d'exercices

Mathématiques à Valin

\text{Une fois cet exercice terminé, cliquez sur }\ovalbox{\text{Envoyer et terminer}}

affichesolution = false
reponse = -1.5
Reponsevue = FractionText(abs(reponse))
signerep = If(reponse  <  0, "-", "")
montre = false
c' = -1
c = -1 (slider from -5 to 5, step 1)
exterep = Take(texterep, 2)
n1 = 3 (slider from -5 to 6, step 1)
d1 = 4 (slider from -5 to 5, step 1)
k = GCD(n1, d1)
n: n1 / k
absn: abs(n)
signfrac = If(n  <  0, "-", "")
d: d1 / k
a = 4 (slider from -5 to 5, step 1)
b = -1 (slider from -5 to 5, step 1)
f12 = Polynomial({(0, b), (1, a + b)})
fracx: "" + signfrac + "\frac{" + absn + "}{" + d + "}"
f13 = Polynomial({(0, c), (1, c' + c)})
f(x) = f12(x) / f13(x)
textx = If(n ≟ 0 ∨ d ≟ 1, "" + n, fracx)
an: (a * n)
texte2: "\text{Calculer la valeur exacte de }f\left(" + (LaTeX[textx]) + "\right)"
ChampTexte1 = Textfield(texterep)
Posfrac1 = IndexOf("/", texterep)
denrep = If(Defined[Posfrac1], Take[texterep, Posfrac1 + 1])
Posfrac2 = IndexOf("/", denrep)
Posplus = IndexOf("+", exterep)
deuxfrac = Defined(Posfrac2)
unplus = Defined(Posplus)
Posmoins = IndexOf("-", exterep)
Posmult = IndexOf("*", texterep)
unmoins = Defined(Posmoins)
unmult = Defined(Posmult)
acalculer: deuxfrac ∨ unmoins ∨ unmult ∨ unplus
numrep = If(Defined[Posfrac1], Take[texterep, 1, Posfrac1 - 1])
numerat = -3
denomin = 2
m = If(¬acalculer, denomin)
Asimplifier: (GCD[numerat, denomin] ≠ 1) ∧ Defined[numerat] ∧ Defined[denomin]
affichefrac = false
AfficheAcalculer = false
AfficheAsimplifier = false
reponsefinale = -1.5
tvu = If(montre ∨ affichesolution, signerep + Reponsevue, "")
calcule: (¬Asimplifier) ∧ (¬acalculer)
texte5: "f\left( " + (LaTeX[textx]) + "\right)=" + (LaTeX[tvu]) + ""
reponseattedue: f(n / d)
textereponse = FractionText(abs(reponseattedue))
tcoefa = If(a ≟ -1, "-", If[a ≠ 1, "" + a + "×", ""])
tcoefb = If(b > 0, "+" + b, "" + b)
tcoefc = If(c > 0, "+" + c, "" + c)
sol2: (c' * n / d)
fsol2 = FractionText(abs(sol2))
tfsol2 = If(sol2  <  0, "-" + fsol2, "" + fsol2)
sol1: (a * n / d)
fsol1 = FractionText(abs(sol1))
tfsol1 = If(sol1 > 0, "" + fsol1, "-" + fsol1)
textereponse2 = If(reponseattedue  <  0, "-" + textereponse, textereponse)
analyse = false
juste: reponseattedue ≟ reponsefinale
affichejuste = false
nbexo = 1
nbjuste = 0
gain = 0
score = 0
texte9: "" + score + " exercices réussis sans erreur sur " + nbexo + " proposés"
debut = false
ccx = If(c' ≟ -1, "-", If[c' ≠ 1, "" + c' + "×", ""])
num12: f12(n / d)
den13: f13(n / d)
tnum12 = FractionText(abs(num12))
ttmu12 = If(num12  <  0, "-" + tnum12, tnum12)
tden13 = FractionText(abs(den13))
ttden13 = If(den13  <  0, "-" + tden13, tden13)
vinterdite: ((-c)) / c'
textevinterdite = SurdText(abs(vinterdite))
signevinterdite = If(vinterdite  <  0, "-", "")
texte1: "\text{La fonction }f \text{ est définie pour tout réel  }x≠" + (LaTeX[signevinterdite]) + "" + (LaTeX[textevinterdite]) + "\text{ par : }f(x)=\frac{" + (LaTeX[f12]) + "}{" + (LaTeX[f13]) + "}"
signfsol2 = If(sol2  <  0, "-", "")
texte6: "\text{Solution:}\\f\left(" + (LaTeX[textx]) + "\right)=\frac{" + (LaTeX[tcoefa]) + "\left(" + (LaTeX[textx]) + "\right)" + (LaTeX[tcoefb]) + "}{" + (LaTeX[ccx]) + "\left(" + (LaTeX[textx]) + "\right)" + (LaTeX[tcoefc]) + "}=\frac{" + (LaTeX[tfsol1]) + "" + (LaTeX[tcoefb]) + "}{" + (LaTeX[tfsol2]) + "" + (LaTeX[tcoefc]) + "}=\frac{" + (LaTeX[ttmu12]) + "}{" + (LaTeX[ttden13]) + "}=" + (LaTeX[textereponse2]) + ""
notemax: 5
grade: score