Find Angle MBC

  • + 0 comments

    import math

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

    r = math.sqrt(AB**2 + BC**2)

    theta = math.atan(AB / BC)

    theta_degrees = math.degrees(theta)

    print(f"{theta_degrees:.0f}\u00b0")