File:Angle centre dem.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 1,052 × 299 pixels, file size: 11 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Demonstration of the central angle property.
Source Own work based on: Angle centre dem.png
Author
Vector:
SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with MetaPost.
Source code
InfoField

PostScript code

metapost-source
defaultscale := 18pt/fontsize defaultfont;

s = 13cm;

def draw_angle(expr A,O,B,r,w,col) =
    draw (O + r*unitvector(A-O))
         { r*unitvector(A-O) rotated 90 }
         ..
         { r*unitvector(B-O) rotated 90 }
         (O + r*unitvector(B-O)) withpen pencircle scaled w withcolor col;
enddef;

pair O,A,M,D,C; % C is anti-A
path p;

for i=0 upto 2:
  O := (i*s,0);
  A := (i*s,5cm);
  M := (i*s-4.924cm,-0.8682cm);
  D := (i*s+4.924cm,0.8682cm);
  C := (i*s,-5cm);
  p := A..D..C..M..cycle;
  draw p withpen pencircle scaled 1pt;
  draw M--D dashed evenly withpen pencircle scaled 1pt;
  draw O--A withcolor blue withpen pencircle scaled 1pt;
  draw_angle(D,O,A,0.8cm,1pt,blue);
  draw A--M withcolor red withpen pencircle scaled 1pt;
  draw_angle(D,M,A,0.8cm,1pt,red);
  
  label.top("A", A);
  label.bot("O", O);
  label.rt("D", D);
  label.lft("M", M);
endfor;

pair B;

B := (3.8302cm+2*s,3.2139cm);
label.urt("B", B);
draw O--B withcolor blue withpen pencircle scaled 1pt;
draw_angle(D,O,B,1.2cm,1pt,blue);
draw M--B withcolor red withpen pencircle scaled 1pt;
draw_angle(D,M,B,1.2cm,1pt,red);

D := D-(s,0);
O := O-(s,0);
M := M-(s,0);
B := (4.6985cm+s,-1.7101cm);
label.lrt("B", B);
draw O--B withcolor blue withpen pencircle scaled 1pt;
draw_angle(B,O,D,1.2cm,1pt,blue);
draw M--B withcolor red withpen pencircle scaled 1pt;
draw_angle(B,M,D,1.2cm,1pt,red);

Licensing[edit]

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current15:53, 18 March 2010Thumbnail for version as of 15:53, 18 March 20101,052 × 299 (11 KB)Wmheric (talk | contribs)vector version by Metapost Category:SVG mathematics Category:Circle geometry Category:Central and inscribed angles <pre> defaultscale := 18pt/fontsize defaultfont; s = 13cm; def draw_angle(expr A,O,B,r,w,col) = draw (O + r*unitvector(A-

The following page uses this file:

File usage on other wikis

The following other wikis use this file: