The point in rectangular coordinate system is
.
To convert rectangular coordinate system to spherical coordinate system, use the conversion equations
,
and
.
Substitute
in the above conversion equations.

Consider
.

Properties of Inverse trigonometric functions:
.

Consider
.

Properties of Inverse trigonometric functions:
.

The point in spherical coordinate system is
.
The point in spherical coordinate system is
.