$Equation: ax^2 + b x + c = 0$

$ Discriminant $

$ Racines: $

$ \mathscr{C}_f $

a = -0.5 (slider from -5 to 5, step 0.5)
b = -2 (slider from -5 to 5, step 0.5)
c = -1 (slider from -5 to 5, step 0.5)
f(x) = a * x^(2) + b * x + c
ac: a * c
k: b^(2) - 4 * ac
d: x - 1 = (-b + sqrt(k)) / (2 * a)
r_1: (-b - sqrt(k)) / (2 * a)
texte6: "$ x_1 =\frac{- b -\sqrt{\Delta}}{2a} = " + (LaTeX[r_1]) + "$"
texte2: "$ \Delta = b^2-4ac  =" + (LaTeX[k]) + ""
r_2: (-b + sqrt(k)) / 2 * a
texte7: "$ x_2=\frac{-b+\sqrt{\Delta}}{2a}=" + (LaTeX[r_2]) + " $"
e = Defined(r_1)
g = Defined(r_2)
h = If(k > 0, r_1, b)
texte1: "$ " + (LaTeX[a]) + "x^2+" + (LaTeX[b]) + "x+" + (LaTeX[c]) + "=0 "