  We present an elementary method of explicit calculation of Young measures for
certain class of functions. This class contains in particular functions of a
highly oscillatory nature which appear in optimization problems and
homogenization theory. In engineering such situation occurs for instance in
nonlinear elasticity (solid-solid phase transition in certain elastic
crystals). Young measures associated with oscillating minimizing sequences
gather information about their oscillatory nature and therefore about
underlying microstructure. The method presented in the paper makes no use of
functional analytic tools. There is no need to use generalized version of the
Riemann {Lebesgue lemma and to calculate weak* limits of functions. The main
tool is the change of variable theorem. The method applies both to sequences of
periodic and nonperiodic functions.
