I am working through a problem where the vector has a Cartesian term and want to convert it to spherical::
(Sorry, I couldn't figure out how to use the equation editor)
sqrt(x^2+y^2)/sqrt(X^2+y^2+z^2) (x component of vector)
I also know the answer is:
(rsin\phi )/r = sin\phi
I can't figure out how rsin\phi = sqrt(x^2=y^2) in the answer.