You are viewing a single comment's thread. Return to all 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))
Seems like cookies are disabled on this browser, please enable them to open this website
Find Angle MBC
You are viewing a single comment's thread. Return to all 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))