Analysis for impurities by nuclear scattering