Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: NEWBIE: How do I use the results of a Solve?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96004] Re: [mg95963] NEWBIE: How do I use the results of a Solve?
  • From: "Tugrul Temel" <temelt at xs4all.nl>
  • Date: Sun, 1 Feb 2009 04:39:38 -0500 (EST)
  • References: <200901310611.BAA28347@smc.vnet.net>

Solve[some equations, x]
y=x*5/.%


-----Original Message-----
From: Tim Heger [mailto:timheger at yahoo.com] 
Sent: Saturday, January 31, 2009 7:12 AM
To: mathgroup at smc.vnet.net
Subject: [mg96004] [mg95963] NEWBIE: How do I use the results of a Solve?

I can't figure out how to use the results of Solve I just created  as a new
variable.

Here's a simple example of what I am trying to do:

Solve[some equation, x]

Results in {x->12}

I then want to use the x in  y =  x * 5 for example....

Obviously when I try to use this it fails because Mathematica sees the
equation as y = {x->12} * 5  and not y = 12 *5 ...

How do I change the results from the Solve from a rule to an actual value I
can then use?

Thanks,

Tim







  • Prev by Date: Re: Re: Looping
  • Next by Date: Re: O in Mathematica
  • Previous by thread: Re: Re: Looping
  • Next by thread: Re: NEWBIE: How do I use the results of a Solve?