Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

changing variable in an equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116341] changing variable in an equation
  • From: "J and B" <noslowski at comcast.net>
  • Date: Fri, 11 Feb 2011 04:17:10 -0500 (EST)

Below is an equation that I am working on. I know there is some way to work
it out better than what I am doing.  I would like the variable a to change
in increments of 10, from -100 to 100.  
Thanks
 
my main equation is:  v = -67+(a-(-67) x E ^ (-19 x t)/10
 
what I am doing:
 
v1= -67+(0-(-67) x E ^ (-19 x t)/10; 
v2= -67+(-10-(-67) x E ^ (-19 x t)/10;
v3= -67+(-20-(-67) x E ^ (-19 x t)/10;
 
and so on and working from -100 to 100
Then I use
 
Plot [ { v1,v2, v3 ........},{t,0,5}, PlotRange -> All]
 
Please note that I have added some spaces in to make it more readable.
 
thanks
Jake


  • Prev by Date: Re: list manipulation
  • Next by Date: Re: list manipulation
  • Previous by thread: Re: ContourPlot confusion
  • Next by thread: Re: changing variable in an equation