Gris a

Gris f(a)

n = If(x ≥ 0.0 ∧ x ≤ 0.5, 2.0 * x, 0.0)
a = 0.66 (slider from 0 to 1, step 0.01)
B = (1.2102776451376696, 0.4)
C = (1.6102776451376695, 0.4)
A: (a, n(a))
g = If(x ≥ 0.0 ∧ x ≤ 1.0, x, 0.0)
F = Intersect(n, g, (1.2000000000000002, 0.0))
G = Intersect(n, g, (1.6, 0.0))
poly2, f_1, g_1, h, i, H, I = Polygon(F, G, 4.0)
poly1, i_1, h_1, b, c, D, E = Polygon(I, H, 4.0)
d: x = x(A)
J = Intersect(n, d, (0.66, 0.0))
S: (x(A), -1.0 * 0.2)
T: (x(A), 0.06)
e = Segment(S, J)
texte1: " Gris a=" + (x(A))
texte2: " Gris f(a)=" + (y(A))
p = If(x ≥ 0.505 ∧ x ≤ 1.0, 2.0 - 2.0 * x, 0.0)
f(x) = n(x) + p(x)