A_f

A_h

A_g

k_h = 2 (slider from 0 to 8, step 1)
k_g = 8 (slider from 0 to 8, step 1)
A = Point(xAxis)
a: x(A)
D = Point(xAxis)
d: x(D)
k = 3 (slider from 0 to 8, step 1)
C = Point(xAxis)
c: x(C)
B = Point(xAxis)
b: x(B)
f(x) = ((k / 8 * (x - a)) * (x - b))
I1 = Integral(f, 0, a)
I2 = Integral(f, a, b)
h(x) = (((-(k_h / 8)) * (x - a)) * (x - d))
Ida = Integral(h, d, a)
g(x) = (((-(k_g / 8)) * (x - b)) * (x - c))
Ibc = Integral(g, b, c)
Text1: "f(x) = " + (LaTeX[f]) + ""
Text2: "g(x) = " + (LaTeX[g]) + ""
Text3: "h(x) = " + (LaTeX[h]) + ""