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'= -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:

  4. Jun 1, 2010 #3
    Thank you!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook