Find Angle MBC

Sort by

recency

|

838 Discussions

|

  • + 0 comments

    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
    
    AB = int(input())
    BC = int(input())
    
    
    AC = math.sqrt(AB**2 + BC**2)
    
    theta = str(int(round(360*math.asin(AB/AC)*(1/(2*math.pi))))) + chr(176)
    
    print(theta)
    
  • + 0 comments

    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}")

  • + 0 comments
    import math
    
    ab = int(input())
    bc = int(input())
    
    print(round(math.degrees(math.atan(ab / bc))), chr(176), sep="")
    
  • + 1 comment

    some of the solutions refers to C,so here is to corner MBC:

    import math
    ab=int(input())
    bc=int(input())
    ac=math.sqrt(ab**2+bc**2)
    mc=ac/2
    rad_c = math.asin(ab/ac) 
    mb=math.sqrt(bc**2+mc**2-math.cos(rad_c)*(2*bc*mc))
    rad_mb=math.acos((mb**2+bc**2-mc**2)/(2*mb*bc))
    print(str(round(180/math.pi*rad_mb))+chr(176))
    
  • + 0 comments

    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}") *