I was trying to map Rectangle from cartesian to polar coordinates. I started by making a rectangle in a Cartesian Plane. From the x and y coordinates of the rectangle, I calculate the radius and angle as follows $$r=\sqrt{x^2+y^2}$$, $$\theta=tan^{-1}\frac{y}{x}$$
After Tracing the point $(r,\theta)$
I got this curve shown in the image.
Is the Transformation Right? Or contain any Mistakes?
The left one is Cartesian and Right one is Polar.
