MathGroup Archive 1999

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

Search the Archive

Re: Problems with Solve

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

In a message dated 4/10/99 7:56:31 AM, tanveer at 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