Example 2 - Radius of Arc Offset from Line Segment

Example 2 - Radius of Arc Offset from Line Segment

Top 

Imagine a piece of drawing software where the user creates an arc by dragging the center of a line segment perpendicular to the segment.  The software author might want a formula for the radius of the arc given the length of the segment and the distance the user has dragged the center away from the segment.