You are viewing a single comment's thread. Return to all comments →
import math AB = int(input()) BC = int(input()) len_m = math.sqrt(AB**2 + BC**2) cos_alpha = BC/math.sqrt(AB**2 + BC**2) BM = math.sqrt((len_m/2)**2 + BC**2 - cos_alpha * (2 * (len_m/2) * BC)) cos_sigma = (BM**2 + BC**2 - (len_m/2)**2) / (2 * BM * BC) output = math.degrees(math.acos(cos_sigma)) print(f'{int(round(output))}\u00B0')
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 →