Quadratische Funktionen
Author: C. Wolfseher

f(x) = ax² + bx +c

Scheitelform

Produktform

c = 3.2 (slider from -10 to 10, step 0.1)
b = -4.2 (slider from -10 to 10, step 0.1)
a = 0.8 (slider from -10 to 10, step 0.1)
diskriminante: b^(2) - 4 * a * c
x_2: (-b - sqrt(diskriminante)) / (2 * a)
x_1: (-b + sqrt(diskriminante)) / (2 * a)
f = Polynomial(a * x^(2) + b * x + c)
A, B = Root(f)
C = Extremum(f)
g(x) = a * (x - x(C))^(2) + y(C)
h(x) = a * (x - x_1) * (x - x_2)
text1: "f(x) = " + f
text2: "f(x) = " + g
text3: "f(x) = " + h
d = false
e = false