f(x) = \left\vert x - 1 \right\vert 

f(x) = abs(x - 1)
c = 3 (slider from -2 to 7, step 0.1)
g = Function((-1) / 2 * x^(2) + x + c, -100, 1)
h = Function(1 / 2 * x^(2) - x + c + 1, 1, 100)
teksti3: "F(x) = \frac{1}{2}x^{2}-x+ " + (LaTeX[c + 1]) + ",  \; kun  \; x > 1"
teksti2: "F(x) = -\frac{1}{2}x^{2}+x+" + (LaTeX[c]) + ",  \; kun  \; x≤ 1"
A = (-1, 0)