Direct Variational Methods and Eigenvalue Problems in Engineering