Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: FindRoot with a parameter

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88871] Re: [mg88858] FindRoot with a parameter
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Tue, 20 May 2008 02:24:22 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200805190918.FAA12665@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

   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