그림:Proof-Pythagorean-Theorem.svg

위키백과 ― 우리 모두의 백과사전.

Proof-Pythagorean-Theorem.svg (9KB, MIME 종류: image/svg+xml)

위키미디어 공용 로고 이 자료는 위키미디어 공용에 있습니다. 해당 문서의 자료에 대한 설명이 아래에 있습니다.

[edit] Summary

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:

 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 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

[edit] Licensing

Public domain I, the author 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 | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Latina | Lietuvių | Magyar | Bahasa Melayu | Nederlands | Norsk (bokmål) | Norsk (nynorsk) | 日本語 | Polski | Português | Ripoarish | Română | Русский | Slovenčina | Slovenščina | Српски | Svenska | ไทย | Türkçe | Українська | Tiếng Việt | Walon | 简体中文 | 繁體中文 | 粵語 | +/-

다음 문서들이 이 그림을 사용하고 있습니다: