Paramètres de la fonction partie entière
Author: Guy Gervais

Déplacez les curseurs pour observer comment se comporte les "marches" de cet "escalier" !

Montrer la fonction de base

Fonction partie entière

h = 1 (slider from -5 to 5, step 0.1)
b = 1 (slider from -5 to 5, step 0.1)
a = 1 (slider from -5 to 5, step 0.1)
k = 1 (slider from -5 to 5, step 0.1)
g(x) = a * floor(b * (x - h)) + k
list1 = Sequence((h + n / b, k + n * a), n, -10.0, 10.0)
list2 = Sequence((h + (n + 1.0) / b, k + n * a), n, -10.0, 10.0)
liste1 = Sequence((n, n), n, -10.0, 10.0)
liste2 = Sequence((n + 1.0, n), n, -10.0, 10.0)
f(x) = floor(x)
c = false
A = (0.11098181818181825, 3.7586040674999257)
B = (2.4222545454545457, 3.7586040674999257)
C = (2.4222545454545457, 3.453203853077413)
D = (0.11098181818181825, 3.453203853077413)
poly1, a_1, b_1, c_1, d = Polygon(A, B, C, D)
texte2: "f(x) = " + a + " [" + b + "(x - " + h + ") ] +" + k