k = 2 (slider from -5 to 5, step 0.1)
f(x) = x^(2.0) + k
M = (2, 6)