Difference between revisions of "User:Herefishyfishy1"

(New page: <math>i^n=cis(\frac{\pi n}{2})</math> <math>\forall a,b,c,n\in \mathbb{N}, n>2\Longrightarrow a^n+b^n\not=c^n</math>)
 
Line 1: Line 1:
<math>i^n=cis(\frac{\pi n}{2})</math>
+
<asy>
 +
import three;
 +
size(300);
 +
currentprojection=orthographic(7,7,7);
 +
int[][] x={{5, 5, 4, 1, 1}, {5, 3, 2, 1, 1},{4, 2, 2, 1, 0},{3, 2, 1, 1, 0},{1, 1, 1, 1, 0}};
 +
int[][] y={{5, 5,4, 4, 4}, {3, 3, 3, 2, 0},{3, 2, 1, 1, 0},{3, 1, 1, 0, 0},{2, 1, 0, 0, 0}};
 +
int[][] z={{5, 5,5, 5, 2}, {4, 4, 3, 0, 0},{4, 2, 1, 0, 0},{3, 1, 1, 0, 0},{2, 1, 0, 0, 0}};
 +
for(int i=0;i<5;++i){
 +
for(int j=0;j<5;++j){
 +
filldraw((i, j, x[i][j])--(i+1, j, x[i][j])--(i+1, j+1, x[i][j])--(i, j+1, x[i][j])--cycle, darkgreen, black);
 +
filldraw((j, y[i][j], i)--(j+1,y[i][j], i)--(j+1,y[i][j], i+1)--(j,y[i][j], i+1)--cycle, paleblue, black);
 +
filldraw((z[i][j],j, i)--(z[i][j],j+1, i)--(z[i][j],j+1, i+1)--(z[i][j],j, i+1)--cycle, rgb(1,1,0.8), black);
 +
}
 +
}
 +
</asy>
  
<math>\forall a,b,c,n\in \mathbb{N}, n>2\Longrightarrow a^n+b^n\not=c^n</math>
+
Hooray for Asymptote!

Revision as of 18:45, 27 September 2008

import three;
size(300);
currentprojection=orthographic(7,7,7);
int[][] x={{5, 5, 4, 1, 1}, {5, 3, 2, 1, 1},{4, 2, 2, 1, 0},{3, 2, 1, 1, 0},{1, 1, 1, 1, 0}};
int[][] y={{5, 5,4, 4, 4}, {3, 3, 3, 2, 0},{3, 2, 1, 1, 0},{3, 1, 1, 0, 0},{2, 1, 0, 0, 0}};
int[][] z={{5, 5,5, 5, 2}, {4, 4, 3, 0, 0},{4, 2, 1, 0, 0},{3, 1, 1, 0, 0},{2, 1, 0, 0, 0}};
for(int i=0;i<5;++i){
for(int j=0;j<5;++j){
filldraw((i, j, x[i][j])--(i+1, j, x[i][j])--(i+1, j+1, x[i][j])--(i, j+1, x[i][j])--cycle, darkgreen, black);
filldraw((j, y[i][j], i)--(j+1,y[i][j], i)--(j+1,y[i][j], i+1)--(j,y[i][j], i+1)--cycle, paleblue, black);
filldraw((z[i][j],j, i)--(z[i][j],j+1, i)--(z[i][j],j+1, i+1)--(z[i][j],j, i+1)--cycle, rgb(1,1,0.8), black);
}
}
 (Error making remote request. Unknown error_msg)

Hooray for Asymptote!