\frac{c^2}{4sr}=\frac{a^2+b^2}{2ab}=1+\frac{(a-b)^2}{2ab}