Re: Defining a function
- To: mathgroup at smc.vnet.net
- Subject: [mg28589] Re: [mg28572] Defining a function
- From: Andrzej Kozlowski <andrzej at tuins.ac.jp>
- Date: Mon, 30 Apr 2001 03:02:02 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Do you mean something like:
In[11]:=
Solve[{a == x + y, b == x*y}, {b}, {y}]
Out[11]=
{{b -> (a - x) x}}
or
In[12]:=
Solve[{a == x + y, b == x*y}, {b}, {x}]
Out[12]=
{{b -> (a - y) y}}
?
--
Andrzej Kozlowski
Toyama International University
JAPAN
http://platon.c.u-tokyo.ac.jp/andrzej/
http://sigma.tuins.ac.jp/
on 01.4.29 10:35 AM, Jesse Marder at yarblocks at yahoo.de wrote:
> 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.
>
>