u_1(t)=sin(2π*p*t)

u_2=sin(2π*q*(t-r))

u_1+u_2

p = 1 (slider from -5 to 5, step 0.01)
q = 1 (slider from -5 to 5, step 0.01)
r = 0 (slider from -5 to 5, step 0.01)
u_3(x) = sin(6.283185307179586 * p * x)
u_2(x) = sin(6.283185307179586 * q * (x - r)) + 3.0
u(x) = u_3(x) + u_2(x) + 4.0