  We calculate self-consistently the local density of states (LDOS) of a d-wave
superconductor considering the scattering of the quasiparticles off randomly
distributed impurities and off externally induced vortices. The impurities and
the vortices are randomly distributed but the vortices are preferably located
near the impurities. The increase of either the impurity repulsive potential or
the mpurity density only affects the density of states (DOS) slightly. The
dominant effect is due to the vortex scattering. The results for the LDOS agree
qualitatively with experimental results considering that most vortices are
pinned at the impurities.
