1. derivált

2. derivált

a = 1 (slider from -5 to 5, step 0.1)
b = 4 (slider from -5 to 5, step 0.1)
c = 1 (slider from -5 to 5, step 0.1)
d = -2 (slider from -5 to 5, step 0.1)
f(x) = a * x^(3.0) + b * x^(2.0) + c * x + d
Gy_1, Gy_2, Gy_3 = Root(f)
f' = Derivative(f)
SZE_1, SZE_2 = Extremum(f)
f'' = Derivative(f, 2.0)
I = TurningPoint(f)
e = Segment(SZE_1, (x(SZE_1), 0.0))
g = Segment(SZE_2, (x(SZE_2), 0.0))
h = Segment(I, (x(I), 0.0))
d1 = true
d2 = true