Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: changing variable in an equation
Replies: 1   Last Post: Feb 12, 2011 5:18 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
noslowski

Posts: 23
Registered: 4/28/09
changing variable in an equation
Posted: Feb 11, 2011 4:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.