Find Angle MBC

Sort by

recency

|

878 Discussions

|

  • + 0 comments

    from math import atan, degrees

    AB = int(input()) BC = int(input())

    print(f"{round(degrees(atan(AB/BC)))}\u00b0")

  • + 0 comments
    import math
    
    AB = int(input())
    BC = int(input())
    
    print(f"{round(math.degrees(math.atan(AB/BC)))}\u00b0")
    
  • + 0 comments
    import math
    
    AB, BC = int(input()), int(input())
    ANGLE = math.degrees(math.atan2(AB, BC))
    print(f"{int(math.floor(ANGLE + 0.5))}{chr(176)}")
    
  • + 1 comment

    For Python3 Platform

    from math import atan, degrees
    
    AB = int(input())
    BC = int(input())
    
    print(round(degrees(atan(AB/BC))), chr(176), sep="")
    
  • + 0 comments
    import math
    
    a = float(input().strip())  
    b = float(input().strip())  
    
    theta_deg = math.degrees(math.atan2(a, b))
    print(str(int(round(theta_deg))), chr(176), sep="")