Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. while( x < 5){
  2. Vector yxz=new Vector();
  3. b.setdata(ab);
  4. b.start();
  5. long test[] = b.getXY();
  6. calc.setXY(test);
  7. array[x] = calc.getXIYI();
  8. // System.out.printf("x=%f, y=%f\n",array[x][0],array[x][1]);
  9. yxz.add(test[0]);
  10. yxz.add(test[1]);
  11. yxz.add(array[x][0]);
  12. yxz.add(array[x][1]);
  13. d.add(yxz);
  14.  
  15. x++;
  16. }
  17. System.out.printf("y=%f, x=%f\n",array[0][1],array[0][0]);
  18. System.out.printf("y=%f, x=%f\n",array[1][1],array[1][0]);
  19. System.out.printf("y=%f, x=%f\n",array[2][1],array[2][0]);
  20. System.out.printf("y=%f, x=%f\n",array[3][1],array[3][0]);
  21. System.out.printf("y=%f, x=%f\n",array[4][1],array[4][0]);
  22. System.out.printf("x=%d\n",x);
  23.  
  24. ###################################
  25. ausgabe
  26.  
  27. x=2,000000, y=5,858252
  28. x=2,000000, y=5,680075
  29. x=2,000000, y=5,714048
  30. x=2,000000, y=5,667680
  31. x=2,000000, y=5,667000
  32. y=5,667000, x=2,000000
  33. y=5,667000, x=2,000000
  34. y=5,667000, x=2,000000
  35. y=5,667000, x=2,000000
  36. y=5,667000, x=2,000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement