Consider the diagram:
$\hspace{4cm}$!enter image description here
Using the identity $\cos(\theta)=1-2\sin^2(\theta/2)$, the distance is $$ 2r\sin(\theta/2)=r\sqrt{2-2\cos(\theta)} $$
Consider the diagram:
$\hspace{4cm}$!enter image description here
Using the identity $\cos(\theta)=1-2\sin^2(\theta/2)$, the distance is $$ 2r\sin(\theta/2)=r\sqrt{2-2\cos(\theta)} $$