Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plot of zeroes' topicStudent Support Forum > General > Archives > "Plot of zeroes"

Next Comment >Help | Reply To Topic
Author Comment/Response
Enrico
04/21/07 10:17am

Hi!!
I've just started with math, so I apologize in advance if my question is too trivial.

Given a polynomial equation in one variable, I asked Mathematica for its numerical roots by NSolve operator.
I'd like to plot corresponding zeroes in a straithforward way, is it possible?

The strategy I've tried to pursue can be summerized as follows:

rr = z_Complex -> {Re[z], Im[z]};
values=NSolve[poly==0,x],
%/.rr,
x./%
list=%

At this step, what I get for is a table having the following structure:
list={{a,b},{c,d},e,....} ---a,b,c,d,e being real, where of course "{a,b}" and "e" have replaced corresponding zeroes a+ib and e ---
Now, in order to use the well-known ListPlot command I need to transform e-like quantities in a the corresponding pair {e,0} , could you help me?
ps. why doesn't "rr" work for real numbers as well??

Thanks a lot

Enr

URL: ,

Subject (listing for 'Plot of zeroes')
Author Date Posted
Plot of zeroes Enrico 04/21/07 10:17am
Re: Plot of zeroes yehuda ben-s... 04/21/07 10:52pm
Re: Re: Plot of zeroes Enrico 04/25/07 05:03am
Next Comment >Help | Reply To Topic