F(x) = If[x < 0, 0, If[0 ≤ x ≤ 1, (1 / 2 * x^(2)), If[1 < x ≤ 2, (2 * x) - (1 / 2 * x^(2)) - 1, 1]]]
teksti1 = LaTeX(F, true, true)
A = Point(F)