Skip to content

Instantly share code, notes, and snippets.

@qnighy
Created January 5, 2013 17:58
Show Gist options
  • Save qnighy/4462791 to your computer and use it in GitHub Desktop.
Save qnighy/4462791 to your computer and use it in GitHub Desktop.
public class pai {
public static double main(int x) {
int y;
long z;
long a;
for (y = 0; y <= x; y++) {
z = 3*Math.pow(2,y);
a = z*Math.sin(180/z);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment