Author: Daniel Mentrard

f \; :  \; x  \;\rightarrow\;\

0

x

y

x

f(x)

Tabla de variaciones

Tableau de valeurs

Para cambiar la función 

t = -0.2 (slider from -5 to 5, step 0.1)
n: round(random() * 10.0 - 5.0 + 0.0 * t)
m = If(n ≟ 0.0, 1.0, n)
a: round(random() * 2.0 - 11.0 + 0.0 * t)
p: round(random() * 10.0 - 10.0 + 0.0 * t)
h(x) = m * x + p
f: round(random() * 5.0 + 10.0 + 0.0 * t)
yb = If(h(a) < h(f), 3.0, 1.0)
ya = If(h(a) > h(f), 3.0, 1.0)
T1: "" + a
b: round(random() * 2.0 - 8.0 + 0.0 * t)
c: round(random() - 4.0 + 0.0 * t)
d: round(random() * 2.0 + 1.0 + 0.0 * t)
e: round(random() * 4.0 + 3.0 + 0.0 * t)
T4: "" + h
T5: "" + b
T6: "" + c
T8: "" + d
T9: "" + e
T10: "" + f
T11: "" + (h(a))
T12: "" + (h(b))
T13: "" + (h(c))
T14: "" + (h(0.0))
T15: "" + (h(d))
T16: "" + (h(e))
T17: "" + (h(f))
A: (17.0, ya - 3.0)
B: (27.0, yb - 3.0)
u = Vector(A, B)
Z = (28.5, 3.5)
A1 = (28.5, -3)
W = (13.5, 3.5)
B1 = (13.5, -3)
poly2, w, z, a1, b1 = Polygon(W, Z, A1, B1)
C1 = Point(poly2)
D1 = Point(a1)
c1 = Segment(C1, D1)
F1 = Point(z)
E1 = (13.5, 2)
d1 = Segment(F1, E1)
T25: "" + a
T26: "" + f
T27: "" + (h(a))
G1 = (11, 11)
H1 = (28.5, 11)
I1 = (28.5, 8)
J1 = (11, 8)
poly5, g1, h1, i1, j1 = Polygon(G1, H1, I1, J1)
C = (-10, 11)
D = Intersect(j1, g1)
E = (11, -12)
F = (-10, -12)
poly1, c_1, d_1, e_1, f_1 = Polygon(C, D, E, F)
texte1: "a = " + m
texte2: "y = " + h
T18: "el coeficiente a es negativo, la función es 
decreciente sobre el intervalo [" + a + " ; " + f + " ]"
g_1 = Function(h, -11.0, 11.0)
T3: "o tal que f(x) = " + h
T28: "" + (h(f))
T20: "Consideramos la función f definida en [" + a + ", " + f + "]  por"
T19: "el coeficiente a es positivo, la función es 
creciente sobre el intervalo [" + a + ", " + f + "]"