Where r is the radius of the circle .
D is the distance between the center of the circle , and the intersection point S .
where r is the radius of the circle , and d is the distance between the center of the circle , and the intersection point S .