Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # Enter your code here. Read input from STDIN. Print output to STDOUT
  2. import math
  3.  
  4. l_AB = input()
  5. l_BC = input()
  6. l_AC = (((l_AB**2)+(l_BC**2))**.5)
  7.  
  8. l_MC = (l_AC/2)
  9. l_MB = (((l_BC**2)-(l_MC**2))**.5)
  10.  
  11. a_MBC_p = l_MC/l_BC
  12.  
  13. a_MBC = math.acos(a_MBC_p)
  14.  
  15. print(a_MBC)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement