Spectral Theory and its Applications