Has solutions called Legendre Polynomials of sines and cosines.

Note and how the solutions to the Azimuthal equation also depend on this quantity. Therefore the solutions between the two are related.

We usually group these solutions together into functions called Spherical Harmonics: