Re: Possible bug in FindRoot[] in Mathematica 3.0
- To: mathgroup@smc.vnet.net
- Subject: [mg11184] Re: Possible bug in FindRoot[] in Mathematica 3.0
- From: Bill Bertram <wkb@ansto.gov.au>
- Date: Wed, 25 Feb 1998 03:31:53 -0500
- Organization: ANSTO
- References: <6ctg2d$lk5@smc.vnet.net>
Adrian Cable wrote:
>
> Hi there,
> I think I've possibly found a bug in Mathematica 3.0. Consider the
> equation:
> This looks like a bug to me. Or am I just missing something here?
>
Yes you are missing something, namely that the root you
get depends on your initial guess. With your initial value of
x = 0, Mathematica tries to converge on the "root" at x -> -Infinity.
(which also satisfies your equation). You can get the other root by
telling Mathematica to start at some x > 0 eg {x,0.5}
Cheers ,
Bill