Integral-equation approach to the abrupt-depletion approximation in semiconductor components