B'

B

a

Kontrolle

b

f1(x) = If[0 ≤ x ≤ 1, 2, 0]
Intervall = Sequence((i | 0), i, 0, 7, 0.5)
f2(x) = If[1 < x ≤ 2, 1.5, 0]
f3(x) = If[2 < x ≤ 3, 1, 0]
f4(x) = If[3 < x ≤ 4, 0.5, 0]
f5(x) = If[4 < x ≤ 5, 0, 0]
f6(x) = If[5 < x ≤ 6, -0.5, 0]
f7(x) = If[6 < x ≤ 7, -1, 0]
f0(x) = f1(x) + f2(x) + f3(x) + f4(x) + f5(x) + f6(x) + f7(x)
f(x) = If[0 ≤ x ≤ 7, f0(x)]
I1(x) = If[0 ≤ x ≤ 2, (2.5 * x), 0]
I2(x) = If[2 < x ≤ 3, (-1 * (x - 2)) + I1(2), 0]
I3(x) = If[3 < x ≤ 5, (-0.5 * (x - 3)) + I2(3), 0]
I4(x) = If[5 < x ≤ 7, (-1.5 * (x - 5)) + I3(5), 0]
I0(x) = I1(x) + I2(x) + I3(x) + I4(x)
I(x) = If[0 ≤ x ≤ 7, I0(x)]
A = Point(Intervall)
a: x(A)
B = Point(Intervall)
g = Segment(A, B)
b: x(B)
Iab = Integral(f, a, b)
ga: x = a
gb: x = b