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

Plotting Direction Fields with Mathamatica7

  1. Jun 1, 2010 #1
    Can someone please explain to me how one plots direction fields of differential equations in mathamatica 7? Two examples are
    y'=3-2y
    y'= -1-2y

    Thank you
     
    Last edited: Jun 1, 2010
  2. jcsd
  3. Jun 1, 2010 #2
    Use StreamPlot[{x'[t],y'[t]},{x,-a,a},{y,-b,b}]

    and in the case of just y'=f(x,y), use:

    StreamPlot[{1,f[x,y]},{x,-a,a},{y,-b,b}]
     
  4. Jun 1, 2010 #3
    Thank you!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Plotting Direction Fields with Mathamatica7
Loading...