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
- References:
- FindRoot with a parameter
- From: Aaron Fude <aaronfude@gmail.com>
- FindRoot with a parameter