Please help in transforming rectangle coordinates to spherical coordinates.
I am doing this as a practice of transforming
using two approach by a) performing the cross product first and then transform from rectangle to spherical coordinates and b) Transform both
to spherical coordinates first before performing the cross product. I notice that I don’t get the same answer. I checked carefully and find nothing wrong that I can tell. In b), it will give
because being a position vector, the cross product is zero. Below is my work, please tell me what did I do wrong:
I start out in rectangle coordinates with letting:
} = (2,4, 2\sqrt{(\frac 5 3)}) \;\;\hbox { and }\;\; \vec C = (4,2, 2\sqrt{(\frac 5 3)}) )
a) Performing cross product first and transform:
} \\ 2 & 4 & 2\sqrt{(\frac 5 3)}\end{array}\right| \;=\; \hat x 4\sqrt{\frac 5 3} \;+\; \hat y 4\sqrt{\frac 5 3} -\hat z 12 )
}| = \sqrt { x_A^2 +y_A^2 +z_A^2} = \sqrt{ 16\frac 5 3 + 16\frac 5 3 + 144} =14.04754 )
 = 45^o \;\hbox { and }\;\theta = cos ^{-1}(\frac { z}{|\vec A|}) = cos ^{-1}( \frac {-12}{14.04754})= 148.676^o )

Given equation of the
component:

 X 0.7071 + 4\sqrt{\frac 5 3} X (-0.85824) X 0.7071 +12 X (0.5198) = -6.23843 -6.2376 = 0 )
Same as 
b) Transform both
to spherical coordinates first before performing the cross product:
Using the same formula above, both
with different
.

As you can see, both only has the
components only as expected from a position vector.

This imply you get a total different answer in two different procedures. It is my understanding you can perform the cross product either way but obviously it does not work. Please take a look and see what did I do wrong.
Thanks