Variational Methods for Engineers with Matlab pdf