Question: solve PDE with one boundary condition

I try to sketch and solve PDE

PDE:+diff(u(x,t),t)+2*diff(u(x,t),x)=0

with boundary condition

u(0,t):=piecewise(0<t and t<=2*pi, sin*t,0) 

how to get the solution u(x,t) and sketch u(x,0),u(x,pi),u(x,2*pi),u(x,3*pi)?

Please Wait...