r is not defined well enough, so you don't know if r is the x or y in a x-y plane.
9.4m questions
12.2m answers