Diffusion of species outside to inside the material at high temperature is important part of surface treatment.
Carburization, Nitriding, and Doping in semiconductor, all take part in diffusion and happen at higher temperatures.
Here, a problem on diffusion in semiconductor is given with special emphasis on the complimentary error function.