amplitude = 0.5 (slider from 0 to 1, step 0.1)
frequency = 1.8 (slider from 0 to 20, step 0.1)
AtmosphericPressure = 0 (slider from 0 to 5, step 0.1)
f(x) = AtmosphericPressure + amplitude * sin(2.0 * 3.141592653589793 * frequency * x)