Find Angle MBC

  • + 0 comments

    Here, angle MBC = angle MCB, because MBC is an isosceles triangle,

    So, tan MCB = AB / BC

    MCB = tan inverse MCB

    MBC = MCB (isosceles triangle)


    import math

    AB, BC = int(input()), int(input())

    tan_MCB = AB / BC

    MCB = math.degrees(math.atan(tan_MCB))

    MBC = MCB # because MBC == MCB (isosceles triangles)

    print(f"{round(MBC)}\u00B0")