What is the integral of $1/\sqrt{x^2+y^2}$ over a rectangle, i.e. what is the solution to the following integral?
$$\int_{x_1}^{x_2} \int_{y_1}^{y_2} \frac{1}{\sqrt{x^2+y^2}} \, dy\, dx$$
I am aware that some posts indicate a change to polar coordinates, but how are the integration limits then defined?
Basically I just need some expression to put inside a piece of code.
Thanks in advance!