AW: How to get Mathematica to solve for "nonbasic varia
- To: mathgroup at smc.vnet.net
- Subject: [mg42373] AW: [mg42359] How to get Mathematica to solve for "nonbasic varia
- From: Matthias.Bode at oppenheim.de
- Date: Thu, 3 Jul 2003 06:10:30 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello cdj, try: Reduce[6*x == 5*y, x] OUT: (5*y)/6 == x Reduce[6*x == 5*y, y] OUT: y == (6*x)/5 Best regards, Matthias Bode Sal. Oppenheim jr. & Cie. KGaA Koenigsberger Strasse 29 D-60487 Frankfurt am Main GERMANY Tel.: +49(0)69 71 34 53 80 Mobile: +49(0)172 6 74 95 77 Fax: +49(0)69 71 34 95 380 E-mail: matthias.bode at oppenheim.de Internet: http://www.oppenheim.de -----Ursprüngliche Nachricht----- Von: a_cjones at hotmail.com [mailto:a_cjones at hotmail.com] Gesendet: Mittwoch, 2. Juli 2003 12:36 An: mathgroup at smc.vnet.net Betreff: [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