Re: Defining a function
- To: mathgroup at smc.vnet.net
- Subject: [mg28594] Re: Defining a function
- From: Yossi Lonke <jrl16 at po.cwru.edu>
- Date: Mon, 30 Apr 2001 03:02:05 -0400 (EDT)
- Organization: Case Western Reserve University, Cleveland, OH, USA
- References: <9cfrlf$gmd@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> From: yarblocks at yahoo.de (Jesse Marder) To: mathgroup at smc.vnet.net > Organization: Steven M. Christensen and Associates, Inc and MathTensor, Inc. > Newsgroups: comp.soft-sys.math.mathematica > Date: 28 Apr 2001 21:44:15 -0400 > Subject: [mg28594] Defining a function > > Hello. > > I have for example: > > a = x + y and > b = x*y > > whats the procedure to express b as a function of a in Mathematica? > > Thank you. > Jesse. > The pairs {1,6}, {2,5} have the same sum but different products, so x*y is NOT a function of (x+y). But you were probably not concerned with such details -- what you want is a method of solving a system of non-linear equations. You may want to look into Mathematica's built in Solve method, and investigate the possibilites there. Yossi Lonke