MathGroup Archive 2003

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

Search the Archive

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
> 
>     
> 


  • Prev by Date: Classless and Cleaver and Free?
  • Next by Date: Re: piecewise definition of a function
  • Previous by thread: Perform an assigment
  • Next by thread: Re: Perform an assigment