import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; /*This file does calculation 1*/ public class ProofCalc1 { public static void main(Manager M) { for(int i=0;i<8;++i) M.C.MESSAGE[i]=""; M.C.MESSAGE[0]="calc 1 start"; M.C.MESSAGE[1]="computing pairs"; M.C.repaint(); int[][] t=overlapList(); verify(t,M); } /*This tests the calculation 1 identity on a grid of points fine enough to hit every region*/ public static void verify(int[][] t,Manager M) { int count=0; int[] LIST=new int[t.length]; for(int i=0;i