Report question

Question: R: Converting cartesian coordinates to polar coordinates, and then calculating distance from origin