You are viewing a single comment's thread. Return to all comments →
Using complex numbers:
from cmath import phase from math import degrees if __name__ == "__main__": degree_sign = u'\N{DEGREE SIGN}' AB, BC = float(input().strip()), float(input().strip()) AC = pow(AB*AB + BC*BC,.5) A = complex(0,AB) C = complex(BC,0) K = A+C M = K/2 radian = phase(M) degree = round(degrees(radian)) print(f"{degree}{degree_sign}")
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 →
Using complex numbers: