dingo_d
- 199
- 0
Homework Statement
This seems like a trivial question (because it is), and I'm just not sure if I'm doing it right.
I have vector in cartesian coordinate system:
\vec{a}=2y\vec{i}-z\vec{j}+3x\vec{k}
And I need to represent it in cylindrical and spherical coord. system
Homework Equations
a_\rho=a_x\cos\phi+a_y\sin\phi
a_\phi=-a_x\sin\phi+a_y\cos\phi
a_z=a_z
The Attempt at a Solution
What is cofusing me is this:
The formula for \phi is\phi=\arctan\frac{y}{x}. Are those x and y in fact a_x and a_y?
By some kind of reasoning it should be. But then \phi is \phi=\arctan\frac{-z}{2y} :\
Is this correct? And do I need to change the unit vectors too?