Skeda:Proof-Pythagorean-Theorem.svg

Nga testwiki
Kërceni tek navigimi Kërceni tek kërkimi
Skedari origjinal (skedë SVG, fillimisht 577 × 350 pixel, madhësia e skedës: 8 KB)

Kjo skedë është nga Wikimedia Commons dhe mund të përdoret nga projektet e tjera. Përshkrimi në faqen përshkruese të skedës është treguar më poshtë.

Përmbledhje

Diagram describing a proof of the Pythagorean theorem; drawn with w:MetaPost and converted to w:SVG. See also Image:Pythagoras6.png for another diagram representing the same proof, with more details.

 The SVG code is valid.
 This vector image was created with MetaPost.

Kodi burimor

InfoField

PostScript code

beginfig(1)
    pair A,B,C,H,a,b,c;
    C=(0,0); B=(18cm,0); A=(0cm,10cm);
    marksize=0.9cm;
  
    labeloffset := 12pt;  
    defaultscale:= 35pt/fontsize defaultfont;
  
    H - C = whatever * (B-A) rotated 90;
    H = whatever [B,A];
    draw A--B--C--cycle withpen pencircle scaled 2bp;
    draw C--H;
  
    label.ulft("A", A);
    label.lrt("B", B);
    label.llft("C", C);
    label.top("H", H);
  
    labeloffset := 8pt;
    label.bot("a",1/2[B,C]);
    label.lft("b",1/2[A,C]);
    label.urt("c",1/2[A,B]);
  
    labeloffset := 9pt;
    label.rt("h",1/2[C,H]);
  
    draw ((1,0)--(1,1)--(0,1))
      zscaled (marksize*unitvector((1,0)));
    draw ((-1,0)--(-1,1)--(0,1))
      zscaled (marksize*unitvector(H)) shifted H;
  endfig;
  end

The SVG file was created by running the following command on the input above:

  mptopdf triangle.mp

and using the [http://www.tlhiv.org/MetaPost/tools/mptosvg/ MetaPost to SVG Converter], which basically does the following:

  pstoedit -page 1 -dt -psarg "-r9600x9600" -f sk foo-1.pdf foo-1.sk
  skconvert foo-1.sk foo-1.svg

Licencim

Public domain Unë,krijuesi i kësaj pune, e lëshoj këtë punë në public domain. Kjo aplikohet në të gjithë botën.
Në disa vende kjo mund të mos jetë e mundur ligjërisht; nëse është kështu:
Unë i garantoj çdokujt të drejtën për ta përdorur këtë punë për çdo qëllim, pa asnjë kusht, përveç rasteve kur këto kushte janë të kërkuara nga ligji.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

përshkruan

data size anglisht

8.269 Bajti

image/svg+xml

checksum anglisht

4bea83b6a92bba76afe72a9715ad518cd280d558

Historiku i skedarit

Kliko mbi një datë/orë për ta parë skedarin siç është shfaqur në atë kohë.

Data/OraMiniaturaPërmasatPërdoruesiKoment
e tanishme2 nëntor 2013 17:13Miniaturë për versionin duke filluar nga 2 nëntor 2013 17:13577 × 350 (8 KB)wikimediacommons>McZusatzSVG fix (uploaded using chunked upload script)

faqe lidhet tek kjo skedë: