Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9774

Re: Find all roots with FindRoot

From W Craig Carter <ccarter@mit.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Find all roots with FindRoot
Date 2012-04-25 04:31 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jn7umn$696$1@smc.vnet.net> (permalink)
References <25227796.28036.1334923020612.JavaMail.root@m06> <201204210431.AAA29222@smc.vnet.net>

Show all headers | View raw


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@comcast.net
> http://home.comcast.net/~djmpark/index.html
>
>
>
>
> From: Sam Takoy [mailto:sam.takoy@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
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Find all roots with FindRoot W Craig Carter <ccarter@mit.edu> - 2012-04-25 04:31 +0000

csiph-web