- #1
mediocre
- 15
- 0
Homework Statement
For the given PDE:
[itex]\partial_t u+\frac{1}{2}\partial_x u=0[/itex]
Where:
[itex]u(0,t)=-1/2t\;;\;t>0[/itex]
[itex]u(x,0)=x\;;\;0\leq x\leq2[/itex]
[itex]u(x,0)=4-x\;;\;2<x\leq4[/itex]
[itex]u(x,0)=0\;;\;4<x[/itex]
The Attempt at a Solution
Characteristic equations give :
[itex]x=\frac{1}{2}t+x_0[/itex]
[itex]u(x,t)=f(x-\frac{1}{2}t)=f(x_0)=const.[/itex]
Which,on the (x,u) graph would look something like:
Is this correct?
The next thing i have to do is to find the solution to it via Lax-Wendroff scheme,but i won't be bothering anyone with that :)