Find Angle MBC

  • + 1 comment

    This will only pass the first and another test. What is the right formula here if BM is not perpendicular to AC? Thanks

    import math AB = input() BC = input() MC = math.sqrt(AB*2 + BC*2)/2

    print str(int(round((math.asin(MC/BC)*(180/math.pi)))))+"°"