An Introduction to Variational Inequalities and Their Applications