a = 3.6 (slider from -5 to 5, step 0.1)
b = 2.2 (slider from -5 to 5, step 0.1)
c = 2.9 (slider from -5 to 5, step 0.1)
d = 1.9 (slider from -5 to 5, step 0.1)
g(x) = (a * cos((b * x) + c)) + d
f(x) = cos(x)