### Distance in elliptical coordinates

In elliptical coordinates ($r=\sqrt{x^2/a^2+y^2/b^2}$ and $\varphi$ as in polar coordinates) find distance between two points $P_1=(r,\varphi_1)$ and $P_2=(r,\varphi_2)$.