MathGroup Archive 2000

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

Search the Archive

Re: Using FindRoot

  • To: mathgroup at
  • Subject: [mg24880] Re: [mg24862] Using FindRoot
  • From: "Tomas Garza" <tgarza at>
  • Date: Sat, 19 Aug 2000 04:45:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Alan [mailto:kd7cyb at] wrote:

> Can you solve the exact answer (meaning as close as possible that
> equally satisfies both sides with the same result) to equations like
> these below using FindRoot, and how? Or do you use a better function?
> (*Can FindRoot get the closest answer possible to this equation or ones
> like it below?*)
> x^2==x^3
> (*OR*)
> x^2==x

I guess that is the whole point of Mathematica functions such as Solve and
FindRoot. E.g.

Solve[x^2 == x^3, x]

{{x -> 0}, {x -> 0}, {x -> 1}}

Here you have the 3 roots of the polynomial x^3 - x^2 (0 with multiplicity

FindRoot[x^2 == x^3, {x, 0}]

{x -> 0.}

Here you have a root found using as starting value x = 0. Check the on-line
help browser where you will find a complete description of each, plus

Tomas Garza
Mexico City

  • Prev by Date: Re: Using FindRoot
  • Next by Date: RE: RE: Expanding a nested structure (pattern matching?)
  • Previous by thread: Re: Using FindRoot
  • Next by thread: Show Steps of Solve or Expand