Difference between revisions of "User:Me@home"

Line 9: Line 9:
  
 
<asy>
 
<asy>
 +
import graph;
 +
import markers;
 
unitsize(3cm);
 
unitsize(3cm);
 
int n=18;
 
int n=18;
Line 28: Line 30:
 
draw(dir(14*a)--6*dir(15*a)-5*dir(14*a));
 
draw(dir(14*a)--6*dir(15*a)-5*dir(14*a));
 
markangle("<math>\theta</math>",radius=60,2*dir(14*a)-dir(13*a),dir(14*a),dir(15*a),ArcArrow(1mm),.5+red);
 
markangle("<math>\theta</math>",radius=60,2*dir(14*a)-dir(13*a),dir(14*a),dir(15*a),ArcArrow(1mm),.5+red);
 +
</asy>
 +
<asy>
 +
import graph;
 +
import markers;
 +
import geometry;
 +
unitsize(1inch);
 +
int n=18;
 +
real a=360/n;
 +
pair A = dir(0);
 +
pair B = A+dir(40);
 +
pair C = B+dir(120);
 +
pair D = C+dir(220);
 +
pair E = D+dir(240);
 +
real w=.5+sin((7*pi)/18);
 +
picture pic,picc;
 +
draw(pic,origin--.5*A--.5*B--.5*C--.5*D--.5*E);
 +
draw(picc,origin--A--B--C--D--E);
 +
label(picc,shift(5*dir(6*a))*"<math>\alpha</math>",A,dir(6*a));
 +
label(picc,shift(10*dir(9*a))*"<math>\beta</math>",B,dir(9*a));
 +
label(picc,shift(10*dir(13*a))*"<math>\gamma</math>",C,dir(13*a));
 +
label(picc,shift(5*dir(16*a))*"<math>\delta</math>",D,dir(16*a));
 +
label(picc,shift(10*dir(1.5*a))*"<math>\epsilon</math>",E,dir(1.5*a));
 +
add(shift(3.5*dir(200))*picc);
 +
for (real i = 1; i <= 6; i+=1)
 +
{
 +
  add(rotate(60*i)*pic);
 +
  add(shift(.5*dir(60*i-60))*rotate(60*i+280)*pic);
 +
  add(shift(w*dir(60*i-60))*rotate(60*i+140)*pic);
 +
}
 
</asy>
 
</asy>

Revision as of 15:35, 7 October 2007

I did everything related to the Mock AIME 3 Pre 2005 all in one edit - each solution page, the answers, and the entire aime page.


Hmmm... I think dollars signs convert automatically to math symbols

 <math>ab</math> 

$ab$

import graph;
import markers;
unitsize(3cm);
int n=18;
real a=360/n;
for (int i = -3; i < n-4; ++i)
{
  draw(dir(i*a)--dir((i+1)*a),.5+black);
}
for (int i = -2; i < n-4; ++i)
{
  draw(dir(i*a)--2*dir(i*a)-dir((i-1)*a),blue);
  markangle(scale(.7)*"<math>\theta</math>",radius=15,2*dir(i*a)-dir((i-1)*a),dir(i*a),dir((i+1)*a),ArcArrow(1mm),.5+blue);
}
markangle(scale(.7)*"<math>\theta</math>",radius=15,2*dir(15*a)-dir(14*a),dir(15*a),dir(16*a),ArcArrow(1mm),.5+blue);
draw(dir(14*a)--6*dir(14*a)-5*dir(13*a));
label("<math>\ell</math>",(7*dir(14*a)-5*dir(13*a))/2,S);
label("<math>m</math>",(7*dir(15*a)-5*dir(14*a))/2,dir(3*a));
label(scale(.8)*"<math>180-\theta</math>",.95*dir(14*a),dir(5*a),red);
draw(dir(14*a)--6*dir(15*a)-5*dir(14*a));
markangle("<math>\theta</math>",radius=60,2*dir(14*a)-dir(13*a),dir(14*a),dir(15*a),ArcArrow(1mm),.5+red);
 (Error making remote request. Unknown error_msg)
import graph;
import markers;
import geometry;
unitsize(1inch);
int n=18;
real a=360/n;
pair A = dir(0);
pair B = A+dir(40);
pair C = B+dir(120);
pair D = C+dir(220);
pair E = D+dir(240);
real w=.5+sin((7*pi)/18);
picture pic,picc;
draw(pic,origin--.5*A--.5*B--.5*C--.5*D--.5*E);
draw(picc,origin--A--B--C--D--E);
label(picc,shift(5*dir(6*a))*"<math>\alpha</math>",A,dir(6*a));
label(picc,shift(10*dir(9*a))*"<math>\beta</math>",B,dir(9*a));
label(picc,shift(10*dir(13*a))*"<math>\gamma</math>",C,dir(13*a));
label(picc,shift(5*dir(16*a))*"<math>\delta</math>",D,dir(16*a));
label(picc,shift(10*dir(1.5*a))*"<math>\epsilon</math>",E,dir(1.5*a));
add(shift(3.5*dir(200))*picc);
for (real i = 1; i <= 6; i+=1) 
{
  add(rotate(60*i)*pic);
  add(shift(.5*dir(60*i-60))*rotate(60*i+280)*pic);
  add(shift(w*dir(60*i-60))*rotate(60*i+140)*pic);
}
 (Error making remote request. Unknown error_msg)