We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Math
- Find Angle MBC
- Discussions
Find Angle MBC
Find Angle MBC
Sort by
recency
|
838 Discussions
|
Please Login in order to post a comment
Notice that AM = MC = MB (right angle triangle inscibed in a circumcirle property) once that is established, use sine rule a/sin A = b/sin B to get the desired angle.
import math
a = int(input()) b = int(input())
radies = math.atan(a/b) degrees = math.degrees(radies) round = round(degrees) e = chr(176) print(f"{round}{e}")
some of the solutions refers to C,so here is to corner MBC:
Enter your code here. Read input from STDIN. Print output to STDOUT
import math a=int(input()) b=int(input())
c=math.degrees(math.atan2(a,b)) d=round(c) e=chr(176) print(f"{d}{e}") *