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 4*/ public class ProofCalc4 { public static void main(Manager M) { for(int i=0;i<8;++i) M.C.MESSAGE[i]=""; M.C.MESSAGE[0]="start calc 4"; M.C.MESSAGE[1]="start order-2 test"; M.C.repaint(); test1(); M.C.MESSAGE[1]="order-2 test done"; M.C.MESSAGE[2]="start main test"; M.C.repaint(); test2(M); M.C.MESSAGE[5]="main test done"; M.C.MESSAGE[6]="calc 4 done"; M.C.repaint(); } public static void fail() { throw new ProofException("calc 4 fails"); } /*Here is 6 times the 420-scaled volume of the trivial tile from 1/2 to 3/4. This is computed in the VolumeComputer file.*/ public static long volumeTrivial() { return(157437000); } public static LongPolyhedron phi(LongPolyhedron P) { long x=0; for(int i=0;i0) hand=1; LongPolyhedron Q=new LongPolyhedron(P); for(int i=0;i