MathGroup Archive 2003

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

Search the Archive

Re: Slope fields

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43752] Re: Slope fields
  • From: poujadej at yahoo.fr (Jean-Claude Poujade)
  • Date: Fri, 3 Oct 2003 02:28:41 -0400 (EDT)
  • References: <blcqsf$p8q$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"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