Re: A Questions Involving Solve
- To: mathgroup at smc.vnet.net
- Subject: [mg3953] Re: [mg3878] A Questions Involving Solve
- From: Robert Pratt <rpratt at math.unc.edu>
- Date: Sat, 11 May 1996 23:52:36 -0400
- Sender: owner-wri-mathgroup at wolfram.com
You don't have to break up the process into two steps. Solve will accept more than one equation at a time. Solve[{11 x - x^2 - 3 y == 0, -5 y + 4 x y == 0}, {x, y}] returns the three ordered pairs {x, y} that work: {0, 0}, {11, 0}, and {5/4, 65/16}. Rob Pratt Department of Mathematics The University of North Carolina at Chapel Hill CB# 3250, 331 Phillips Hall Chapel Hill, NC 27599-3250 rpratt at math.unc.edu On Sat, 4 May 1996, Michael R. Lewis wrote: > I have a quick question for anyone. I need to solve some equations here is an > example of what I need to solve: > > A=Solve[11x-x^2-3y==0,x] > B=Solve[-5y+4xy==0,x] > > This give me {{x->whatever},{x->whatever}} for each equation. I then need to > set the equations equal to each other and find the ordered pair (x,y) that > satifies A=B. In other words I need to set the solutions of the above > equations (11x-x^2-3y==0 and -5y+4xy==0) and get the ordered pair that > satifies this new equation. I'm having trouble doing this. If anyone can help > it would be greatly appreciated. > > Please respond to the newsgroup or better yet to me personally > (milewis at bu.edu). > > Thanks in advance, > > Mike Lewis > > &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& > & Michael R. Lewis email: milewis at bu.edu & > & Box 3163 & > & 700 Commonwealth Ave. & > & Boston, MA 02215 phone: (617) 352-8596 & > & & > & WWW: http://acs5.bu.edu:3795/~milewis/ & > & & > & "Life is like alot of jazz . . . & > & it's best when you improvise." & > &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& > > ==== [MESSAGE SEPARATOR] ====