A1 = NaN
A = 1 (slider from -5 to 5)
w1 = 2 (slider from -5 to 5)
c1 = 2 (slider from -5 to 5)
t = 0 (slider from 0 to 20)
B = 1 (slider from -5 to 5)
w2 = 2 (slider from -5 to 5)
c2 = 2 (slider from -5 to 5)
d = 0.7 (slider from -5 to 5)
y2(x) = (B * sin((w2 / c2 * x) - (w2 * t) - d))
y1(x) = (A * sin((w1 / c1 * x) - (w1 * t)))
s(x) = y1(x) + y2(x)