Some problems arising from spectral analysis