MathGroup Archive 1999

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

Search the Archive

Re: Problems with Solve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17023] Re: [mg17010] Problems with Solve
  • From: BobHanlon at aol.com
  • Date: Wed, 14 Apr 1999 02:11:45 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 4/10/99 7:56:31 AM, tanveer at wam.umd.edu writes:

>I have an equation
>	eqn == rhs
>
>Solving in the following way
>
>	Solve[eqn,x]
>
>the output is something like
>
>	x->2.11
>
>how do I save the value for x to someother variable...
>

You used your variable eqn two different ways: as the LHS of an equation and 
as an equation.  Assuming that eqn is the equation:

y = x /. Solve[eqn, x]


Bob Hanlon


  • Prev by Date: Solution
  • Next by Date: Re: shading in area
  • Previous by thread: Problems with Solve
  • Next by thread: Re: Problems with Solve