Angle measurement and solving triangles