public class sabrina { public static double argX=4, argY=5, argZ=6, radX=17, radY=18, radZ=19; public static void main(String[]args) { double [2d] deltaEachAxis = new double [[0,1]:[3,3]]; for (int i=0; i < 10 ; i++) { deltaEachAxis [3,1] = (1 + 2 * argX - radX) / 8; deltaEachAxis [3,2] = (1 + 2 * argY - radY) / 8; deltaEachAxis [3,3] = (1 + 2 * argZ - radZ) / 8; deltaEachAxis [0,1] = (3 - 2 * argX - radX) / 8; deltaEachAxis [0,2] = (3 - 2 * argY - radY) / 8; deltaEachAxis [0,3] = (3 - 2 * argZ - radZ) / 8; deltaEachAxis [2,1] = 0.25 + (0.25 - deltaEachAxis [0,1]); deltaEachAxis [2,2] = 0.25 + (0.25 - deltaEachAxis [0,2]); deltaEachAxis [2,3] = 0.25 + (0.25 - deltaEachAxis [0,3]); deltaEachAxis [1,1] = 0.25 + (0.25 - deltaEachAxis [3,1]); deltaEachAxis [1,2] = 0.25 + (0.25 - deltaEachAxis [3,2]); deltaEachAxis [1,3] = 0.25 + (0.25 - deltaEachAxis [3,3]); } System.out.println(deltaEachAxis[0,1]); System.out.println(deltaEachAxis[0,2]); System.out.println(deltaEachAxis[0,3]); System.out.println(deltaEachAxis[1,1]); System.out.println(deltaEachAxis[1,2]); System.out.println(deltaEachAxis[1,3]); System.out.println(deltaEachAxis[2,1]); System.out.println(deltaEachAxis[2,2]); System.out.println(deltaEachAxis[2,3]); System.out.println(deltaEachAxis[3,1]); System.out.println(deltaEachAxis[3,2]); System.out.println(deltaEachAxis[3,3]); }}