derivata prima

derivata seconda

x2 = 7 (slider from -10 to 10, step 0.1)
x3 = -8.1 (slider from -10 to 10, step 0.05)
x1 = -6 (slider from -10 to 10, step 0.05)
g(x) = ((x3 * 3) * x^(2)) + x2
h(x) = ((x3 * 6) * x)
k = 0.3 (slider from -2 to 2, step 0.05)
f(x) = ((k * (x - x1)) * (x - x2) / (x - x3))
asint: x = x3
A: (x1, 0)
B: (x2, 0)