Question: how to plot this traveling wave

U(x,t)= 2/3f(x+t)+1/3f(x-2t)+(1/3pi)(sin(pi(x+t))+(1/3pi)(sin(pi(x-2t)),

f(x)=1-x,abslutex<1, zero otherwise

Please Wait...