2 Discontinuities in a Variational Problem