MathGroup Archive 2003

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

Search the Archive

Re: How to get Mathematica to solve for "nonbasic variables"?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42371] Re: How to get Mathematica to solve for "nonbasic variables"?
  • From: bobhanlon at aol.com (Bob Hanlon)
  • Date: Thu, 3 Jul 2003 06:10:28 -0400 (EDT)
  • References: <bdudf1$fi9$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Solve[{5x == 6y, z == x/y}, z] /. z :> x/y


Bob Hanlon

In article <bdudf1$fi9$1 at smc.vnet.net>, a_cjones at hotmail.com wrote:

<< Intuitively, I'd like to get Mathematica to compute things of the following
sort:

In: Solve[5x==6y,x/y]

Out: {x/y -> 5/6}

Of course Mathematica won't do this - and several obvious variations on this
theme don't seem to work either (e.g., introducing a new variable z =
x/y, and attempting to solve the system for z).

So what's the easiest way to solve (systems of) equations for
nonatomic variables of this sort?

Thanks for any suggestions,
 >><BR><BR>


  • Prev by Date: Xwin32, Mathematica and fonts problem
  • Next by Date: Re: How to get Mathematica to solve for "nonbasic variables"?
  • Previous by thread: Re: How to get Mathematica to solve for "nonbasic variables"?
  • Next by thread: Re: How to get Mathematica to solve for "nonbasic variables"?