MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Slope fields


"Steven Jonak" <jonakst at gw.kirkwood.k12.mo.us> wrote in message news:<blcqsf$p8q$1 at smc.vnet.net>...
> I'm a relative newbie to Mathematica and am interested in generating slope fields.  Is there a way for me to see the slope field for a differential equation such as dy/dx=2x or similar first-order seperable differential equations?
> 
> S Jonak

Steven,

You can use PlotVectorField (with normalized arrow length) 
to plot slope fields. 
This is an example with y'=2x :  

<<Graphics`

PlotVectorField[{1,2x}/Sqrt[1+(2x)^2],{x,-1,1},{y,-1,1},Axes->True]

---
jcp


  • Prev by Date: Re: Derivative
  • Next by Date: Signal Processing Help please..
  • Previous by thread: Re: Slope fields
  • Next by thread: Re: Slope fields