f = Function(3 + 2 * x - x^(2), -10, 10)
a = -4 (slider from -5 to 5, step 0.1)
b = -1 (slider from -5 to 5, step 0.1)
c = 3 (slider from -5 to 5, step 0.1)
d = 4 (slider from -5 to 5, step 0.1)
I_1 = Integral(f, a, b)
I_2 = Integral(f, b, c)
I_3 = Integral(f, c, d)
ZS2 = 0
ZS3 = 0
h: abs(I_1)
text1: "obsah\ S_1=∫_a^bf(x)\ dx=" + (LaTeX[FractionText[h]]) + ""
k: abs(I_2)
text2: "obsah\ S_2=∫_b^cf(x)\ dx=" + (LaTeX[FractionText[k]]) + ""
j: abs(I_3)
text3: "obsah\ S_3=∫_c^df(x)\ dx=" + (LaTeX[FractionText[j]]) + ""
text4: "Výsledný\  obsah\ S=" + (LaTeX[FractionText[h + k + j]]) + ""