amplitude = 0.4 (slider from 0 to 1, step 0.1)
frequency = 6 (slider from 0 to 20, step 0.1)
AtmosphericPressure = 1 (slider from 0 to 5, step 0.1)
f(x) = AtmosphericPressure + amplitude * sin(2.0 * 3.141592653589793 * frequency * x)
A = Point(f)
B = Point(f)
g(x) = AtmosphericPressure