Using the physics convention for spherical coordinates, the polar angle is measured from positive and the azimuth from positive toward positive . The Cartesian coordinates are
Use the convention that is the polar angle from positive , and the azimuth from positive . The radius isThen , while and both planar coordinates are positive. Thus the spherical coordinates are
