MathGroup Archive 2001

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

Search the Archive

Re: implicit function

  • To: mathgroup at
  • Subject: [mg28307] Re: implicit function
  • From: Matthias Hertel <wir95cgu at>
  • Date: Mon, 9 Apr 2001 02:58:06 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at


FindRoot returns a list of replacement rules. All you have to do is
apply them:

In[1]:= ff[x_] := y /. FindRoot[2y == x, {y, .5}]

In[2]:= ff[.5]

Out[2]= 0.25


Phil Bonacich <bonacich at> writes:
> This is a simple problem, but one that has bedeviled me. I define
> ff[x_] := FindRoot[2y == x, {y, .5}] . I don't want "{y -> 0.25}"
> when I enter ff[.5]; I want ".25", so that I can do other things
> with the function ff. How do I get it?

  • Prev by Date: Re: implicit function
  • Next by Date: Re: Saving sound waveforms
  • Previous by thread: implicit function
  • Next by thread: Re: implicit function