File:DiscCoveringExample.svg

From formulasearchengine
Jump to navigation Jump to search
    Original file (SVG file, nominally 180 × 210 pixels, file size: 9 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.


    Summary

    Description
    English: This is the optimal strategy for r(9) and r(10). Below is the metapost code.
    Date
    Source Own work
    Author Full Decent
    SVG development
    InfoField
     The SVG code is valid.
     This trigonometry was created with Inkscape.
      This trigonometry uses embedded text that can be easily translated using a text editor.
    %prologues:=3;
    
    filenametemplate "%j_%c.mps";
    
    verbatimtex
    %&latex
    \documentclass{minimal}
    \begin{document}
    etex
    
    beginfig(0);
    	n:=6;
    	r:=1/(1+2*cosd(360/(n-1)));
    	u:=144/(2+2*r);
    	draw fullcircle scaled (2*u) dashed evenly scaled 0.75;
    	draw fullcircle scaled (2*r*u);
    	for i=0 upto (n-2): 
    		draw fullcircle scaled (2*r*u) shifted (u*sind(360/(n-1)*i),u*cosd(360/(n-1)*i)); 
    	endfor;
    
    	draw (0,0)--(2*u*sind(180/(n-1)),2*u*cosd(180/(n-1)));
    	draw (0,0)--(2*-u*sind(180/(n-1)),2*u*cosd(180/(n-1)));
    
    % draw subpath (0,length(fullcircle)/(n-1)) of fullcircle scaled (4*u) rotated (90-180/(n-1));
    	drawdblarrow subpath (0,length(fullcircle)/(n-1)) of fullcircle scaled (4*u) rotated (90-180/(n-1));
    
    %	label.top(btex $\theta = \frac{2\pi}{n-1}$ etex,(0,0)) scaled (u/72) shifted (0,u*2);
    	label.top(btex $\theta$ etex,(0,0)) scaled (u/36) shifted (0,u*2);
    endfig;
    
    end

    Licensing

    Full Decent, the copyright holder of this work, hereby publishes 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.
    Attribution:
    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.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    9,292 byte

    image/svg+xml

    ba32c5b5471449afcd024c92de83108d55e5052b

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current04:13, 3 June 2009Thumbnail for version as of 04:13, 3 June 2009180 × 210 (9 KB)wikimediacommons>FulldecentThis is the optimal strategy for r(9) and r(10). Below is the metapost code. Is this the right place to past this? let me know ~~~~ %prologues:=3; filenametemplate "%j_%c.mps"; verbatimtex %&latex \documentclass{minimal} \begin{document} etex beginfig

    There are no pages that use this file.