T852 / JUURI KERTAUS

f(t) = If[0 ≤ t ≤ (2 * π), sin(t)]
g(t) = abs(f(t))
a = 4.4 (slider from 0 to (2 * π), step 0.1)
määrinteg0a = Integral(g, 0, a)
teksti1 = LaTeX(f, true, true)
teksti2 = LaTeX(g, true, true)
F(x) = (0 * (x < 0)) + ((1 - cos(x)) * (0 ≤ x ≤ π)) + ((3 + cos(x)) * (π < x ≤ (2 * π))) + (4 * (x > (2 * π)))
P: (a, F(a))