From discrete to continuum: a variational approach Part of the book: Topics on Concentration Phenomena and Problems with Multiple Scales