Re: NSolve unable to find all possible roots
- To: mathgroup at smc.vnet.net
- Subject: [mg115621] Re: NSolve unable to find all possible roots
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 16 Jan 2011 05:55:54 -0500 (EST)
There is only the root x = 0.
Note that the argument of Sqrt[-13.319-x^2] is always negative so its value is always complex.
Bob Hanlon
---- Luiz Melo <luiz.melo at polymtl.ca> wrote:
=============
Dear mathgroup,
The equation below has three possible roots, namely: 0., 1.99, -1.99.
eq = x*(Sqrt[-13.319 - x^2] + 2.41*Sqrt[1.004 - x^2])
If we try NSolve[eq == 0, x], we get {{kx-> 0.}} only.
How to instruct NSolve to search for the other two roots of the above equation?
Thank you
Luiz Melo