File:Proof-Pythagorean-Theorem.svg
Original file (SVG file, nominally 577 × 350 pixels, file size: 8 KB)
Captions
Summary
[edit]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.
Source code
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
Licensing
[edit]Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:13, 2 November 2013 | 577 × 350 (8 KB) | McZusatz (talk | contribs) | SVG fix (uploaded using chunked upload script) | |
15:42, 28 December 2005 | No thumbnail | 0 × 0 (9 KB) | Schutz (talk | contribs) | Diagram describing a proof of the Pythagorean theorem; drawn with MetaPost and converted to SVG. |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on bn.wikibooks.org
- Usage on br.wikipedia.org
- Usage on bs.wikipedia.org
- Usage on cv.wikipedia.org
- Usage on en.wikibooks.org
- Usage on en.wikiversity.org
- Usage on eu.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on hi.wikipedia.org
- Usage on kk.wikipedia.org
- Usage on mk.wikipedia.org
- Usage on no.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on pt.wikibooks.org
- Usage on sh.wikipedia.org
- Usage on sq.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on ta.wikipedia.org
- Usage on uk.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 576.69501 |
---|---|
Height | 349.76401 |