Spectral Analysis for Physical Applications