Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: Defining a function

  • To: mathgroup at
  • Subject: [mg28590] Re: [mg28572] Defining a function
  • From: BobHanlon at
  • Date: Mon, 30 Apr 2001 03:02:02 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

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

  • Prev by Date: Calculating PI
  • Next by Date: Re: Defining a function
  • Previous by thread: Defining a function
  • Next by thread: Re: Defining a function