• + 1 comment

    Yes, because the problems specifies that both AB and BC are positive, atan should work. I got this wrong orginally because I assumed that math.atan(AB/BC) = math.atan2(AB, BC) which wasn't unreasonable - just not true ;-)