Consider a right triangle with a base of length 6 cm and a height of length 8 cm. A circle is inscribed within this triangle, touching all three sides. Calculate the radius of the inscribed circle.
Use the formula for the radius $r$ of the inscribed circle in a triangle, which is given by:
$$ r = \f\frac{A}{s} $$
where $A$ is the area of the triangle and $s$ is the semi-perimeter. The semi-perimeter is calculated as:
$$ s = \f\frac{a + b + c}{2} $$
where $a$, $b$, and $c$ are the lengths of the sides of the triangle.