Pythagorean theorem for a right triangle, with both angles.
c = √(a² + b²); A = atan(a ÷ b); B = 90° − A.
Free tool by CommunityCalculator