Complementarity and Variational Inequalities in Electronics