Guest User

Untitled

a guest
Jan 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. var y = 10,
  2. x = 20,
  3. h,
  4. b,
  5. a;
  6.  
  7. h = Math.sqrt(Math.pow(y, 2) + Math.pow(x, 2));
  8. b = Math.round(Math.atan(y/x) * 180 / Math.PI * 100) / 100;
  9. a = 90 - b;
Add Comment
Please, Sign In to add comment