A right triangle is inscribed in a circle with a diameter of 20 units. One of the legs of the triangle is 12 units long. Calculate the length of the other leg of the triangle.
Use the Pythagorean theorem, which states that in a right triangle, the square of the length of the hypotenuse ($c$) is equal to the sum of the squares of the lengths of the other two sides ($a$ and $b$):
In this case, the hypotenuse is equal to the diameter of the circle (20 units).