Find Angle MBC

  • + 0 comments

    Absolutly agree with you guys, the question is angle for MBC not for ABC, this is my solution. import math ab, bc = float(input()), float(input())

    ac = math.sqrt(ab**2 + bc**2) bm = math.sqrt(bc**2 - (ac/2)**2) mc = ac/2

    tg_ang = bm / mc angulo = round(math.degrees(math.atan(tg_ang))) print("{}".format(angulo) + chr(176))