Ex. 170. Find the smallest radius of a semicircle in which a triangle with the given sides can be inscribed such that two vertices of the triangle lie on the semicircle, and the third vertex lies on the diameter of the semicircle.
a) $7,8,9$
b) $9,15,16$
Ex. 170. a) $R=6$; b) $R=9$.