MathGroup Archive 2008

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

Search the Archive

Re: Problem with replacement rules

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91886] Re: [mg91851] Problem with replacement rules
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 11 Sep 2008 06:18:20 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Clear[x];

x[y_] = x /. Solve[y == x/a + b, x][[1]]

-a (b-y)

x[2]

-a (b-2)


Bob Hanlon

---- Simula <simula at mit.edu> wrote: 

=============
Hello, I have a very simple question but I didn't find an answer in mathematica help.
I use Solve[expression(x,y),x]. Then, x is obtained as a one-to-one function of y. I want to define the function x(y) using the output of Solve. How should I do?
Thank you very much for your help. Best regards, Laurent


--

Bob Hanlon



  • Prev by Date: Re: Comparison of coefficients
  • Next by Date: Re: How can I get list form like this
  • Previous by thread: Problem with replacement rules
  • Next by thread: Re: Problem with replacement rules