From Wikipedia, the free encyclopedia

No higher resolution available.

Proof-Pythagorean-Theorem.svg‎ (577 × 350 pixel, file size: 9 KB, MIME type: image/svg+xml)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is attempting to create a freely licensed media file repository. You can help.


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 MetaPost code is:

   pair A,B,C,H,a,b,c;
   C=(0,0); B=(18cm,0); A=(0cm,10cm);
   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);"H", H);
   labeloffset := 8pt;"a",1/2[B,C]);
   labeloffset := 9pt;
   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;

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


and using the MetaPost to SVG Converter, which basically does the following:

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


Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Afrikaans | Alemannisch | Aragonés | العربية‎ | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Ελληνικά | English | Español | Esperanto | Euskara | فارسی‎ | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית‎ | Kurdî / كوردي | Latina | Lietuvių | Magyar | Bahasa Melayu | Nederlands | Norsk (bokmål) | Norsk (nynorsk) | 日本語 | Polski | Português | Ripoarish | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски | Svenska | ไทย | Türkçe | Українська | Tiếng Việt | | 简体中文 | 繁體中文 | 粵語 | +/-

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):