f(x,t)

x

λ = 3.9 (slider from 0 to 5, step 0.1)
t = 0 (slider from 0 to 30, step 0.05)
c = 1.7 (slider from 0 to 4, step 0.1)
A = 0.6 (slider from 0 to 4, step 0.1)
σ = 0.2 (slider from 0 to 3, step 0.01)
x_0 = -5.7 (slider from -20 to 0, step 0.1)
f(x) = (A * atan((x - x_0 - (c * t)) / σ))
g(x) = (A * sin(((2 * pi / λ) * (x - (c * t) - x_0))))
h(x) = (f(x) * g(x))
p(x) = (0.3 * sin((30 * x) + (10 * f(x))))