sin(x) = sin(x)
d = 0 (slider from -5 to 5, step 0.1)
f(x) = sin(x) + d