MathGroup Archive 2008

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

Search the Archive

Re: FindRoot with a parameter


   K[a_] := FindRoot[a*x == 1/2, {x, 1}]
   Plot[x/.K[a],{a,-1,1}]

??

Aaron Fude wrote:
> Hi,
> 
> How does one accomplish something like this:
> 
> K[a_] = FindRoot[a*x == 1/2, {x, 1}]
> 
> My intention is to plot how the zero of a function depends on
> parameters.
> 
> Thanks!
> 
> Aaron
> 

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: RenderBadPicture error while running
  • Next by Date: Re: Framed[3, FrameStyle -> None] fails
  • Previous by thread: Re: FindRoot with a parameter
  • Next by thread: Re: FindRoot with a parameter