Search All of the Math Forum:

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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

 Messages: [ Previous | Next ]
 Bob Hanlon Posts: 2,604 Registered: 1/29/05
Re: changing variable in an equation
Posted: Feb 12, 2011 5:18 AM

I am guessing that each x in your equation is intended to represent multiplication. You are also missing a parenthesis which I put at the end but may have to be moved.

v[a_, t_] = -67 + (a - (-67) E^(-19 t)/10);

Plot[
Evaluate[
Table[
Tooltip[v[a, t], a],
{a, -100, 100, 10}]],
{t, 0, 5},
Frame -> True,
Axes -> False]

Plot3D[v[a, t], {t, 0, 5}, {a, -100, 100}]

Bob Hanlon

---- J and B <noslowski@comcast.net> wrote:

=============
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]

thanks
Jake

Date Subject Author
2/11/11 noslowski
2/12/11 Bob Hanlon