Solve the below:
1. Use method of the characteristics to solve the following (PDE)
ut+3uux=0
for initial condition
u(x,0)={5 x<0
1 x>0}
2. Solve the above equation
ut+3uux=0
for initial condition
u(x,0)={1 x<2
3 x>2}
3. Solve
∂2u/∂t2 = c2∂2u/∂x2
subject to the conditions:
u(x,0)=0, ∂u/∂x(x,0)=0 and ∂u/∂x(0,t)=g(t)