a = 1 (slider from -5 to 5, step 0.5)
f(x) = a cos(x)
cos(x) = cos(x)