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: [mg42372] RE: [mg42359] How to get Mathematica to solve for "nonbasic variables"?
  • From: "Florian Jaccard" <jaccardf at eicn.ch>
  • Date: Thu, 3 Jul 2003 06:10:29 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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

Out[61]=
{{x/y -> 6/5}}


Florian Jaccard


-----Message d'origine-----
De : cdj [mailto:a_cjones at hotmail.com]
Envoyé : mer., 2. juillet 2003 12:36
À : mathgroup at smc.vnet.net
Objet : [mg42359] How to get Mathematica to solve for "nonbasic
variables"?


Hi all,

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,

cdj



  • Prev by Date: Re: How to get Mathematica to solve for "nonbasic variables"?
  • Next by Date: Re: Question about matrix operations
  • 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"?