f(x) = sin(x)
a = -0.8 (slider from -5 to 5, step 0.1)
g(x) = a * sin(x)