MathGroup Archive 2006

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

Search the Archive

Re: NSolve and array


On Mar 1, 2006, at 4:11 AM, behnam.kia at gmail.com wrote:

> Hi every body. I have a problem with mathematica and I would be very
> glad if some one helps me.
> The problem is that I find the roots of  polynomial by NSolve and I
> want to put the results in an array for further manipulation, but I do
> not know how can I do it. More precisely I want to return the results
> of NSolve to an array or similary list.
>
> Would you please help me?

Here's one approach

In[2]:=
x/.NSolve[x^2+x+1==0,x]
Out[2]=
{-0.5-0.866025 I,-0.5+0.866025 I}

Regards,

Ssezi



  • Prev by Date: Re: NSolve and array
  • Next by Date: Re: Lists of all values of a two-variable function
  • Previous by thread: Re: NSolve and array
  • Next by thread: Re: NSolve and array