k = -2.2 (slider from -5 to 5, step 0.1)
g(x) = sin(k * x)
a = -3 (slider from -5 to 5, step 0.1)
h(x) = a * g(x)
f(x) = sin(x)
b = -1.5 (slider from -5 to 5, step 0.1)
j(x) = h(x) + b
p(x) = abs(j(x))