(a)
\Conversion from rectangular coordinates to spherical coordinates :
\The function is
.
Substitute
and
in above equation. 
The equation in cylindrical coordinates is
.
(b)
\Conversion from rectangular coordinates to spherical coordinates :
\The equation is
.
Substitute
and
in above equation. 
The equation in cylindrical coordinates is
.
(a) The equation in spherical coordinates is
.
(b) The equation in spherical coordinates is
.