File:Complex fifth roots.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 640 × 512 pixels, file size: 44 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Visualising 5th roots of a complex number
Deutsch: Darstellung der 5-ten Wurzeln einer komplexen Zahl
Date
Source Own work
Author Georg-Johann
SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with MetaPost.
Source code
InfoField

PostScript code

metapost-source
% Some TeX abbreviations for conveniance
verbatimtex
\def\e#1{\sqrt[5]2 \cdot e^{\pi i/15 #1}}
\def\en#1{\e{+2\pi i{#1}/5}}
etex

% Unit length for drawings (not for TeX)
u := 25mm;

% Radius of Circle
r := 2**(1/5);

ru := 2*r*u;

% Bounding Box
z.min = (-2.3,-1.5)*u;
z.max = (2.2,2.1)*u;

pair s;

% Draw Background to ensure good Contrast
fill for s = z.min, (x.max,y.min), z.max, (x.min,y.max):
   s-- endfor cycle withcolor (.99,.99,.99);

path p;

% Draw Circle
p := fullcircle scaled ru;

draw p;

% Real Axis
drawarrow (-2.1,0)*u--(2,0)*u;
label.ulft(btex $\Re\mathrm e$ etex, (2,0)*u);

% Imag Axis
drawarrow (0,-1.4)*u--(0,2)*u;
label.llft(btex $\Im\mathrm m$ etex, (0,2)*u);

% Draw the 5th Roots as Arrows with Labels
for i=0 upto 4:
   pair q;
   q := point 8*(1/30+i/5) of p;
   drawarrow (0,0)--q;
   if i=0:
      label.rt(btex $\e{}$ etex, q);
   elseif i=1:
      label.urt(btex $\en{}$ etex, q);
   elseif i=2:
      label.lft(btex $\en{\cdot 2}$ etex, q);
   elseif i=3:
      label.llft(btex $\en{\cdot 3}$ etex, q);
   else:
      label.lrt(btex $\en{\cdot 4}$ etex, q);
   fi;
endfor;

% Original Number we took the 5th Roots of
s := (1,sqrt(3))*u;
drawarrow (0,0)--s;
label.rt(btex $1+i\sqrt3=2\cdot e^{\pi i/3}$ etex, s);

% Indicate "1"
s := (u,0);
d := 0.03u;
draw ((0,-d)--(0,d)) shifted s withcolor black;
label.llft(btex $1$ etex, s);

% Indicate Circle's Radius
draw ((0,0)--(d,-d)) shifted (r*u,0) withcolor black;
label.lrt(btex $\sqrt[5]2$ etex, (r,0)*u);

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:59, 9 August 2010Thumbnail for version as of 19:59, 9 August 2010640 × 512 (44 KB)Georg-Johann (talk | contribs){{Information |Description={{en|1=Visualising 5th roots of a complex number}} {{de|1=Darstellung der 5-ten Wurzeln einer komplexen Zahl}} |Source={{own}}: From Metapost-Code below |Author=Georg-Johann |Date=2010-08-08 |Permission= |o

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata