AoPS Wiki:Sandbox: Difference between revisions
| Line 18: | Line 18: | ||
<asy>unitsize(.4cm); | <asy>unitsize(.4cm); | ||
for(int i=0; i < | int[][] c = {{0,0,1},{0,1,1},{1,1,0}}; | ||
for(int j=0; j < | int[] r = {255, 0}; | ||
int[] g = {0,0}; | |||
int[] b = {0, 255}; | |||
for(int i=0; i < 3; ++i) { | |||
for(int j=0; j < 3; ++j) { | |||
pen rgb(r[c[i][j]], g[c[i][j]], b[c[i][j]]); | |||
dot((i,j)); | dot((i,j)); | ||
} | } | ||
Revision as of 07:43, 31 March 2009
Template:AoPSWiki:Sandbox/header 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
unitsize(.4cm);
int[][] c = {{0,0,1},{0,1,1},{1,1,0}};
int[] r = {255, 0};
int[] g = {0,0};
int[] b = {0, 255};
for(int i=0; i < 3; ++i) {
for(int j=0; j < 3; ++j) {
pen rgb(r[c[i][j]], g[c[i][j]], b[c[i][j]]);
dot((i,j));
}
}
(Error making remote request. Unknown error_msg)
$\begin{align*} \dfrac{p+q}{p-q}&=1+\dfrac{2q}{p-q}\\ &= 1+\dfrac{14}{2}\\ &= \boxed{7} \end{align*}$ (Error compiling LaTeX. Unknown error_msg)
Testing answers template:
googology101talk • contribs 22:07, 27 February 2009 (UTC)