f: y = cos(x)
a = 0.8 (slider from 0 to 5)
b = 0 (slider from 0 to 5)
c = 1 (slider from -5 to 5)
d = 1 (slider from -5 to 5)
g(x) = (a * cos((b * x) + c)) + d