Article View: bln.sci.mathematik
Article #613Re: How to bracket complex zeros - an example
From: Tleko
Date: Sun, 21 Jul 1996 00:00
Date: Sun, 21 Jul 1996 00:00
42 lines
1531 bytes
1531 bytes
HOW TO BRACKET COMPLEX ZEROS - AN EXAMPLE
The function considered is:
F(Z) = Z^2+Z+1
(1)
The plots of the real and the imaginary part of (1) are obtained
using MATLAB program
[x,y]=meshdom(-1:.05:1,0:.05:1);
colormap([1 1 1]);
z=sqrt((x.^2-y.^2+x+1).^2+((2*x+1).*y).^2).*cos(atan((2*x+1).*y./(x.^2-y.^
2+x+1)));
surf(x,y,z)
for the real part (figure 1) and
[x,y]=meshdom(-1:.05:1,0:.05:1);
colormap([1 1 1]);
z=sqrt((x.^2-y.^2+x+1).^2+((2*x+1).*y).^2).*sin(atan((2*x+1).*y./(x.^2-y.^
2+x+1)));
surf(x,y,z)
for the imaginary (figure 2). Subtracting the two and using the MATLAB
contour command
x = -1:.01:0;
y = 0:.01:1;
[X,Y]=meshgrid(x,y);
colormap([1 1 1]);
Z=sqrt((X.^2-Y.^2+X+1).^2+((2*X+1).*Y).^2).*sin(atan((2*X+1).*Y./(X.^2-Y.^
2+X+1)))
-sqrt((X.^2-Y.^2+X+1).^2+((2*X+1).*Y).^2).*cos(atan((2*X+1).*Y./(X.^2-Y.^2
+X+1)));
%contour3(X,Y,Z,30)
contour(x,y,Z)
we obtain the figure 3. The figure 3 clearly indicates the positions of
complex zeros.
Technical Details
Message-ID:
<4ssr28$r6f@newsbf02.news.aol.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6df2,a9e4e17370cfdd7b,start X-Google-Attributes: gidf6df2,public From: tleko@aol.com (Tleko) Subject: Re: How to bracket complex zeros - an example Date: 1996/07/21 Message-ID: <4ssr28$r6f@newsbf02.news.aol.com> X-Deja-AN: 169299698 sender: root@newsbf02.news.aol.com organization: America Online, Inc. (1-800-827-6364) reply-to: tleko@aol.com (Tleko) newsgroups: bln.sci.mathematik