What is the best numerical method for

1. Jun 16, 2011

hunt_mat

An equation of the form:
$$\frac{\partial A}{\partial t}+\frac{\partial B}{\partial x}=C$$
I am thinking Lax-Wendroff.

2. Jun 17, 2011

timthereaper

I would think so, seeing as how it fits the Wikipedia example fairly well.

3. Jun 17, 2011

hunt_mat

$$C=\frac{\partial}{\partial x}\int Cdx$$
and then define
$$B'=B-\int Cdx$$
to get
$$\frac{\partial A}{\partial t}+\frac{\partial B'}{\partial x}=0$$
and then apply Lax-Wendroff to the above equation?