gabbagabbahey
Homework Helper
Gold Member
- 5,000
- 7
Usually r=\sqrt{x^2+y^2+z^2} which is the distance from the origin to the field point...In this case you want the distance from the z-axis which is usually given as the cylindrical coordinate s=\sqrt{x^2+y^2}...You can call that r if you like, but you need to make sure you state that it is the distance from the axis, not the distance from the origin.