Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What is the best numerical method for

  1. Jun 16, 2011 #1

    hunt_mat

    User Avatar
    Homework Helper

    An equation of the form:
    [tex]
    \frac{\partial A}{\partial t}+\frac{\partial B}{\partial x}=C
    [/tex]
    I am thinking Lax-Wendroff.
     
  2. jcsd
  3. Jun 17, 2011 #2
    I would think so, seeing as how it fits the Wikipedia example fairly well.
     
  4. Jun 17, 2011 #3

    hunt_mat

    User Avatar
    Homework Helper

    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?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook