amplitude = 1 (slider from 0 to 5, step 0.1)
harmonic = 5 (slider from 1 to 10, step 1)
frequency = 0.25 (slider from 0 to 5, step 0.25)
f(x) = amplitude * sin(harmonic * frequency * x)
g(x) = -(amplitude) * sin(harmonic * frequency * x)