MathGroup Archive 2012

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

Search the Archive

Re: Find all roots with FindRoot

  • To: mathgroup at
  • Subject: [mg126198] Re: Find all roots with FindRoot
  • From: W Craig Carter <ccarter at>
  • Date: Wed, 25 Apr 2012 00:30:42 -0400 (EDT)
  • Delivered-to:
  • References: <25227796.28036.1334923020612.JavaMail.root@m06> <>

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

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.
> David Park
> djmpark at
> From: Sam Takoy [mailto:sam.takoy at]
> 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