The Math Forum

Search All of the Math Forum:

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

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

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

Topic: changing variable in an equation
Replies: 4   Last Post: Feb 13, 2011 5:51 AM

Advanced Search

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

Posts: 688
Registered: 7/15/08
Re: changing variable in an equation
Posted: Feb 13, 2011 5:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


> Those that have responded have requested further information. I hope this
> will help.

> What I tried to do was to just plot his solution which is V(t)= Vsubnl + (V0
> - Vsubnl)times e to the -gsubL * t divided by c. What I did was make up
> different equations such as vt1 = -67+(0-(-67))*e^-19t/c and substitute
> values for t. And then make another equation with a different V0 and do the
> same thing. Then finally combine them using Plot{{vt1,vt2 and so on},
> {t,0,5}].
> These results mimic his plots so I am on the right track. It's just that my
> way takes an enormous amount of time. I know that there must be a better
> way to do this with Mathematica. That's the whole point of my request for
> help.

I'm not sure whether I got what you want and don't have the book to
check, but I think the following should be a starting point to achieve
what you probably want:

sol = VsubnL + (V0 - VsubnL)*E^(-gsubL*t/c)

parameters = {c -> 10, gsubL -> 19, VsubnL -> -67}

Plot[Evaluate[Table[sol /. parameters, {V0, 0, 100, 20}]], {t, 0,
5}, Frame -> True, Axes -> False, PlotRange -> All,
ImageSize -> 500]



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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.