https://slothcoders.blogspot.com/2021/04/find-angle-mbc-in-python-solution.html