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

MathGroup Archive 2012

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

Search the Archive

Re: Find all roots with FindRoot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126198] Re: Find all roots with FindRoot
  • From: W Craig Carter <ccarter at mit.edu>
  • Date: Wed, 25 Apr 2012 00:30:42 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <25227796.28036.1334923020612.JavaMail.root@m06> <201204210431.AAA29222@smc.vnet.net>

Hello All,
Regarding Ted Ersek's very useful RootSearch package: to get this to run in  Mathematica 8,  I had to change all instances of
$MinPrecision=-Infinity
to
$MinPrecision=Infinity

in RootSearch.m

W Craig Carter
Professor of Materials Science, MIT



On Apr 21, 2012, at Sat, Apr 21, 12 ---12:31 AM, djmpark wrote:

> You might try Ted Ersek's RootSearch package. This returns all real roots
> within an interval in order. Although this is a common usage, and some
> combination of FindRoot, Solve or Reduce will sometimes suffice, there
> doesn't seem to be a common Mathematica routine that is as convenient and
> easy as Ted's routine. Ted's routine will also find zeros that do not cross
> the axis, and I seem to recall it can be used to find roots defined on
> curves defined by a single parameter.
>
> http://library.wolfram.com/infocenter/MathSource/4482/
>
>
> David Park
> djmpark at comcast.net
> http://home.comcast.net/~djmpark/index.html
>
>
>
>
> From: Sam Takoy [mailto:sam.takoy at yahoo.com]
>
>
> Hi,
>
> I need to find all roots of a function in a certain interval. FindRoot only
> finds one. I imagine that I could write a script that calls FindRoot
> repeatedly, but I'm guessing this must be built-in functionality or someone
> has written such a script in the past (better than I ever could).
>
> Can someone direct me to a command or a script like that?
>
> Many thanks in advance,
>
> Sam
>
>




  • Prev by Date: Re: Instability with Dynamic content
  • Next by Date: overlay and show commands
  • Previous by thread: Re: Find all roots with FindRoot
  • Next by thread: Re: Find all roots with FindRoot