Re: Perform an assigment
- To: mathgroup at smc.vnet.net
- Subject: [mg43882] Re: [mg43865] Perform an assigment
- From: "Peter Pein" <petsie at arcor.de>
- Date: Fri, 10 Oct 2003 03:05:50 -0400 (EDT)
- References: <200310090554.BAA06738@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In[1]:= vars = {x, y}; equations = {x + y == 0, x - y == 2}; Evaluate[vars] = vars /. Solve[equations, vars][[1]]; x y Out[4]= 1 Out[5]= -1 Peter Pein, Berlin petsie at arcAND.de replace && by || to write to me ----- Original Message ----- From: <paulocct at uniquindio.edu.co> To: mathgroup at smc.vnet.net Subject: [mg43882] [mg43865] Perform an assigment > Hi all, > I want to solve a system of equations and to assign the values > calculated to the variables of the system automatically, What should I > do?. What command should I use? > > Thanks a lot, > > Paulo Carmona > University of Quindio > Colombia > > >
- References:
- Perform an assigment
- From: paulocct@uniquindio.edu.co
- Perform an assigment