What is the best numerical method for

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Messages
1,816
Reaction score
33
An equation of the form:
[tex] \frac{\partial A}{\partial t}+\frac{\partial B}{\partial x}=C[/tex]
I am thinking Lax-Wendroff.
 
Physics news on Phys.org
I would think so, seeing as how it fits the Wikipedia example fairly well.
 
I have been thinking about this, would I have to define:
[tex] C=\frac{\partial}{\partial x}\int Cdx[/tex]
and then define
[tex] B'=B-\int Cdx[/tex]
to get
[tex] \frac{\partial A}{\partial t}+\frac{\partial B'}{\partial x}=0[/tex]
and then apply Lax-Wendroff to the above equation?