Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("X: "+(secondX)*Math.cos(Math.toRadians(degree))+(secondY)*Math.sin(Math.toRadians(degree)));
- double tempx = (secondX)*Math.cos(Math.toRadians(degree))+(secondY)*Math.sin(Math.toRadians(degree));
- System.out.println(tempx);
- X: 307.95309010816850.6631914446167735
- 308.61628155278527
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement