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 ProofCalc2 { public static void main(Manager M) { for(int i=0;i<8;++i) M.C.MESSAGE[i]=""; M.C.MESSAGE[0]="calc 2 start"; M.C.MESSAGE[1]="computing pairs"; M.C.repaint(); int[][] t=overlapList(); verify(t,M); } /*This tests the calculation 2 identity on a grid of points fine enough to hit every region*/ public static void verify(int[][] t,Manager M) { int goal=t.length; int count=0; int[] LIST=new int[t.length]; for(int i=0;i