We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Math
- Find Angle MBC
- Discussions
Find Angle MBC
Find Angle MBC
Sort by
recency
|
847 Discussions
|
Please Login in order to post a comment
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")
what is chr(176)
Guys in a copy pen solve the Question using simple geometry then you will find the angle to be arctan of height and base then just apply it:
import math a=int(input()) b=int(input()) rad=math.atan(a/b) print(round(math.degrees(rad)),chr(176),sep="")
Using complex numbers: