Re: Defining a function
- To: mathgroup at smc.vnet.net
- Subject: [mg28590] Re: [mg28572] Defining a function
- From: BobHanlon at aol.com
- Date: Mon, 30 Apr 2001 03:02:02 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
b[a_, x_] := Evaluate[b /. Solve[{a == x+y, b == x*y}, b, y][[1]]];
b[a, x]
(a - x)*x
Bob Hanlon
In a message dated 2001/4/28 9:45:39 PM, yarblocks at yahoo.de writes:
>I have for example:
>
>a = x + y and
>b = x*y
>
>whats the procedure to express b as a function of a in Mathematica?
>