Find Angle MBC

  • + 22 comments

    This problem in incorrect.

    This problem states that the output should be angle MBC in degrees. However, all test cases seem to expect angle ACB instead.

    Using rules of geometry, we should be able to find angle ACB using tangent rule tan(C) = AB/BC. Then, the angle MBC can be calculated as 180 - 90 - ACB.

    In test case 1, AB is given as length 1 and BC is given as length 10. This yields an angle ACB around 6 degrees, meaning angle MBC should be about 84 degrees. Instead the expected solution is 6 degrees.