|
|
(217 intermediate revisions by 47 users not shown) |
Line 1: |
Line 1: |
| {{AoPSWiki:Sandbox/header}} <!-- Please do not delete this line --> | | {{AoPSWiki:Sandbox/header}} <!-- Please do not delete this line --> |
− | In the computer world, a '''sandbox''' is a place to test and experiment -- essentially, it's a place to play.
| |
− |
| |
− | This is the AoPSWiki Sandbox. Feel free to experiment here.
| |
− |
| |
− | Warning: anything you place here is subject to deletion without notice.
| |
− |
| |
− | === Sandbox Area ===
| |
− | <asy>
| |
− | draw(Circle((0,0),13),linewidth(1));
| |
− | draw((-12,-5)--(-5,-12)--(12,5)--cycle,linewidth(1));
| |
− | draw((0,0)--(-5,-12),linewidth(1)+linetype("0 4"));
| |
− | dot((0,0));
| |
− |
| |
− | label("T",(0,0),N);
| |
− | label("X",(-12,-5),W);
| |
− | label("Z",(-5,-12),S);
| |
− | label("Y",(12,5),E);
| |
− |
| |
− | </asy>
| |
− | <asy>
| |
− |
| |
− | size(4cm,4cm);
| |
− |
| |
− | pair A,B,C,D,E;
| |
− | A = (0,0);
| |
− | B = dir(108);
| |
− | C = B+dir(39);
| |
− | D = C+dir(-39);
| |
− | E = (1,0);
| |
− |
| |
− | draw(A--B--C--D--E--cycle,linewidth(1));
| |
− | draw(A--C,linewidth(1)+linetype("0 4"));
| |
− |
| |
− | label("A",A,S);
| |
− | label("B",B,W);
| |
− | label("C",C,N);
| |
− | label("D",D,E);
| |
− | label("E",E,S);
| |
− | label("$108^\circ$",B,E);
| |
− |
| |
− |
| |
− | </asy>
| |
− |
| |
− | <asy>
| |
− |
| |
− | draw(Circle((0,0),23), linewidth(1.5));
| |
− | dot((0,0));
| |
− |
| |
− | </asy>
| |
− |
| |
− | <asy>
| |
− |
| |
− | dot((0,0));
| |
− | dot((5,12));
| |
− | line((0,0)--(5,12));
| |
− |
| |
− | </asy>
| |
− |
| |
− | <asy>
| |
− |
| |
− | dot((0,0));
| |
− | dot((0,2));
| |
− | dot((0,4));
| |
− | dot((0,6));
| |
− | dot((2,0));
| |
− | dot((2,2));
| |
− | dot((2,4));
| |
− | dot((2,6));
| |
− | dot((4,0));
| |
− | dot((4,2));
| |
− | dot((4,4));
| |
− | dot((4,6));
| |
− | dot((6,0));
| |
− | dot((6,2));
| |
− | dot((6,4));
| |
− | dot((6,6));
| |
− | draw((0,0)--(0,2),red);
| |
− | draw((0,2)--(2,2),red);
| |
− | draw((2,2)--(0,4),red);
| |
− | draw((0,4)--(0,6),red);
| |
− | draw((0,6)--(2,6),red);
| |
− | draw((2,6)--(2,4),red);
| |
− | draw((2,4)--(4,6),red);
| |
− | draw((4,6)--(6,6),red);
| |
− | draw((6,6)--(6,4),red);
| |
− | draw((6,4)--(4,4),red);
| |
− | draw((4,4)--(6,2),red);
| |
− | draw((6,2)--(6,0),red);
| |
− | draw((6,0)--(4,0),red);
| |
− | draw((4,0)--(4,2),red);
| |
− | draw((4,2)--(2,0),red);
| |
− | draw((2,0)--(0,0),red);
| |
− |
| |
− | </asy>
| |
− |
| |
− | <asy>
| |
− |
| |
− | dot((0,0));
| |
− | dot((0,2));
| |
− | dot((0,4));
| |
− | dot((0,6));
| |
− | dot((2,0));
| |
− | dot((2,2));
| |
− | dot((2,4));
| |
− | dot((2,6));
| |
− | dot((4,0));
| |
− | dot((4,2));
| |
− | dot((4,4));
| |
− | dot((4,6));
| |
− | dot((6,0));
| |
− | dot((6,2));
| |
− | dot((6,4));
| |
− | dot((6,6));
| |
− | dot((0,8));
| |
− | dot((2,8));
| |
− | dot((4,8));
| |
− | dot((6,8));
| |
− | dot((8,0));
| |
− | dot((8,2));
| |
− | dot((8,4));
| |
− | dot((8,6));
| |
− | dot((8,8));
| |
− | dot((0,10));
| |
− | dot((2,10));
| |
− | dot((4,10));
| |
− | dot((6,10));
| |
− | dot((8,10));
| |
− | dot((10,0));
| |
− | dot((10,2));
| |
− | dot((10,4));
| |
− | dot((10,6));
| |
− | dot((10,8));
| |
− | dot((10,10));
| |
− | draw((6,0)--(0,2),red);
| |
− | draw((0,0)--(0,2),blue);
| |
− | draw((0,0)--(6,0),blue);
| |
− | draw((0,2)--(2,8),red);
| |
− | draw((0,2)--(0,8),blue);
| |
− | draw((0,8)--(2,8),blue);
| |
− | draw((2,8)--(8,6),red);
| |
− | draw((2,8)--(8,8),blue);
| |
− | draw((8,8)--(8,6),blue);
| |
− | draw((8,6)--(6,0),red);
| |
− | draw((6,0)--(8,0),blue);
| |
− | draw((8,6)--(8,0),blue);
| |
− |
| |
− | </asy>
| |
− |
| |
− | ==Test 1==
| |
− |
| |
− | <asy>
| |
− |
| |
− | dot((0,0));
| |
− | dot((1,0));
| |
− | dot((0,1));
| |
− | dot((1,1));
| |
− | dot((2,0));
| |
− | dot((0,2));
| |
− | dot((1,2));
| |
− | dot((2,1));
| |
− | dot((2,2));
| |
− | dot((3,0));
| |
− | dot((3,1));
| |
− | dot((3,2));
| |
− | dot((3,3));
| |
− | dot((2,3));
| |
− | dot((1,3));
| |
− | dot((0,3));
| |
− | dot((0,4));
| |
− | dot((1,4));
| |
− | dot((2,4));
| |
− | dot((3,4));
| |
− | dot((4,4));
| |
− | dot((4,3));
| |
− | dot((4,2));
| |
− | dot((4,1));
| |
− | dot((4,0));
| |
− | dot((5,0));
| |
− | dot((5,1));
| |
− | dot((5,2));
| |
− | dot((5,3));
| |
− | dot((5,4));
| |
− | dot((5,5));
| |
− | dot((4,5));
| |
− | dot((3,5));
| |
− | dot((2,5));
| |
− | dot((1,5));
| |
− | dot((0,5));
| |
− | dot((0,6));
| |
− | dot((1,6));
| |
− | dot((2,6));
| |
− | dot((3,6));
| |
− | dot((4,6));
| |
− | dot((5,6));
| |
− | dot((6,6));
| |
− | dot((6,5));
| |
− | dot((6,4));
| |
− | dot((6,3));
| |
− | dot((6,2));
| |
− | dot((6,1));
| |
− | dot((6,0));
| |
− | dot((7,0));
| |
− | dot((7,1));
| |
− | dot((7,2));
| |
− | dot((7,3));
| |
− | dot((7,4));
| |
− | dot((7,5));
| |
− | dot((7,6));
| |
− | dot((7,7));
| |
− | dot((6,7));
| |
− | dot((5,7));
| |
− | dot((4,7));
| |
− | dot((3,7));
| |
− | dot((2,7));
| |
− | dot((1,7));
| |
− | dot((0,7));
| |
− | draw((0,1)--(1,7),red);
| |
− | draw((1,7)--(7,6),red);
| |
− | draw((7,6)--(6,0),red);
| |
− | draw((6,0)--(0,1),red);
| |
− | draw((2,7)--(7,5),blue);
| |
− | draw((0,2)--(2,7),blue);
| |
− | draw((5,0)--(0,2),blue);
| |
− | draw((5,0)--(7,5),blue);
| |
− | draw((3,7)--(7,4),yellow);
| |
− |
| |
− | </asy>
| |
− |
| |
− | ==Test 2==
| |
− | <b>Test</b>
| |