Trigonometry
Right triangles — SOH CAH TOA
In a right triangle, the three sides are related by the Pythagorean theorem, and each acute angle is pinned down by the RATIO of two sides: sin = opposite/hypotenuse, cos = adjacent/hypotenuse, tan = opposite/adjacent.
adjacent leg
opposite leg
= Pythagorean theorem
= angle from the tangent ratio
= the same angle in degrees
right(leg_a, leg_b)
drawn to scale — note the right-angle mark
Try it: set leg_a and leg_b equal. The angle becomes 45° and the triangle becomes the isosceles right triangle. The drawing follows.