Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solving Polynomials' topicStudent Support Forum > General > "Solving Polynomials"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
TomD
09/21/09 6:32pm

Hello,

I am not sure I fully understand what you want to do.

However, perhaps something like the following?

In[16]= soln = Solve[x^3 + x^2 - 8 x + 1 == 0, x] // N

Out[16]= {{x -> 2.29542 + 0. I}, {x ->
0.127283 + 2.22045*10^-16 I}, {x -> -3.4227 + 0. I}}

In[17]= Map[Re, x /. soln]

Out[17]= {2.29542, 0.127283, -3.4227}

Good luck

TomD

URL: ,

Subject (listing for 'Solving Polynomials')
Author Date Posted
Solving Polynomials Nick 09/19/09 4:58pm
Re: Solving Polynomials TomD 09/21/09 6:32pm
Re: Solving Polynomials yehuda ben-s... 09/22/09 08:31am
Re: Solving Polynomials Peter Pein 09/25/09 5:41pm
Re: Solving Polynomials Peter Pein 09/25/09 5:48pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic