I need to evaluate the $z$ component of the magnetic dipole moment integral for a current distribution, which is given by the following:
$$\mathbf M = \frac 12 \int_V \; \mathbf r \times \mathbf J \; dv $$
Where $ \mathbf M $ is the magnetic dipole moment; $ \mathbf r $ is the vector from the origin to the point of interest; and $ \mathbf J $ is the current density, defined as $ \mathbf J=J_0 \hat \phi $
The current density is uniform, and this is for a sphere.
I'm confused about what I'm being asked to do, this is asking for the $z$ component of the integral. But since the current density is in spherical co-ordinates, am I supposed to calculate the integral in spherical co-ordinates? If so, is there a $z$ component for spherical co-ordinates?