Advertisement
Guest User

Untitled

a guest
May 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import math
  2.  
  3. x_degrees = 90
  4. x_radians = math.floor(math.radians(x_degrees))
  5. x_cosinus = math.floor(math.cos(x_radians))
  6.  
  7. print("x -> {} degré(s)".format(x_degrees))
  8. print("x -> {} radian(s)".format(x_radians))
  9. print("cos(x) -> {}".format(x_cosinus))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement