Variational Methods For Engineers