Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'real roots of negative numbers' topicStudent Support Forum > General > Archives > "real roots of negative numbers"

Next Comment >Help | Reply To Topic
Author Comment/Response
Avijeet Prasad
06/26/12 02:28am

Hi,

How to take the nth roots of a list of negative
numbers and restrict the solutions to real domain?

In the following example, Out[854] returns only the complex solutions instead of the initial real
list given in In[852]:

In[852]:= tab1=Table[x,{x,-10,-5,1.5}]
Out[852]= {-10.,-8.5,-7.,-5.5}
In[853]:= tab2=tab1^3
Out[853]= {-1000.,-614.125,-343.,-166.375}
In[854]:= tab2^(1/3)
Out[854]= {5.+8.66025 I,4.25+7.36122 I,3.5+6.06218 I,2.75+4.76314 I}

URL: ,

Subject (listing for 'real roots of negative numbers')
Author Date Posted
real roots of negative numbers Avijeet Prasad 06/26/12 02:28am
Re: real roots of negative numbers Forum Modera... 06/26/12 7:41pm
Next Comment >Help | Reply To Topic