|
[Date Index]
[Thread Index]
[Author Index]
Re: Using FindRoot
- To: mathgroup at smc.vnet.net
- Subject: [mg24880] Re: [mg24862] Using FindRoot
- From: "Tomas Garza" <tgarza at mail.internet.com.mx>
- Date: Sat, 19 Aug 2000 04:45:53 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Alan [mailto:kd7cyb at mac.com] 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.
In[11]:=
Solve[x^2 == x^3, x]
Out[11]=
{{x -> 0}, {x -> 0}, {x -> 1}}
Here you have the 3 roots of the polynomial x^3 - x^2 (0 with multiplicity
2).
In[12]:=
FindRoot[x^2 == x^3, {x, 0}]
Out[12]=
{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
examples.
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
|